[gnome-maps/wip/mattiasb/eslint: 2/3] Lint: No Assignment in Cond. Statements
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mattiasb/eslint: 2/3] Lint: No Assignment in Cond. Statements
- Date: Sat, 30 Jan 2016 19:43:05 +0000 (UTC)
commit 9ce9d0358ad4992aa89b68fd40daabf3d11a0720
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Fri Jan 29 18:07:34 2016 +0100
Lint: No Assignment in Cond. Statements
Disallow Assignment in Conditional Statements.
http://eslint.org/docs/rules/no-cond-assign
.eslintrc.yaml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index fabc867..4672017 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -7,3 +7,6 @@ rules:
comma-dangle:
- 2
- "never"
+ no-cond-assign:
+ - 2
+ - "always"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]