1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 16:44:17 +02:00

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]
This commit is contained in:
Chris Rebert
2016-05-30 23:38:10 -07:00
parent 5a35ad6d74
commit 324cbb2280
2 changed files with 3 additions and 1 deletions

View File

@@ -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,