diff options
| author | Chris Rebert <[email protected]> | 2016-05-30 23:38:10 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-05-30 23:42:22 -0700 |
| commit | 324cbb2280cba8681395ed9f2b76c0ccdbf77c8d (patch) | |
| tree | dbe3d7985a052b3edea1cdfd1ae85f4cad8f7bec /js | |
| parent | 5a35ad6d74c8d9e5aa99a1fc255300a8fd2ac0b4 (diff) | |
| download | bootstrap-324cbb2280cba8681395ed9f2b76c0ccdbf77c8d.tar.xz bootstrap-324cbb2280cba8681395ed9f2b76c0ccdbf77c8d.zip | |
Upgrade ESlint to v1.7.3
Enable new rules:
* no-empty-pattern
* no-magic-numbers (exempting 0 and ±1)
Refs #19908
[skip sauce]
[skip validator]
Diffstat (limited to 'js')
| -rw-r--r-- | js/.eslintrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/.eslintrc b/js/.eslintrc index e712f3247..813cd29a3 100644 --- a/js/.eslintrc +++ b/js/.eslintrc @@ -21,6 +21,7 @@ "no-duplicate-case": 2, "no-empty": 2, "no-empty-character-class": 2, + "no-empty-pattern": 2, "no-ex-assign": 2, "no-extra-boolean-cast": 2, "no-extra-parens": 0, @@ -29,6 +30,7 @@ "no-inner-declarations": 2, "no-invalid-regexp": 2, "no-irregular-whitespace": 2, + "no-magic-numbers": [2, {"ignore": [-1, 0, 1]}], "no-negated-in-lhs": 2, "no-obj-calls": 2, "no-regex-spaces": 2, |
