Bug 1248523 - Remove duplicate rules in .eslintrc r=kmag

MozReview-Commit-ID: ICAnRlR1ILI
This commit is contained in:
Julien Wajsberg 2016-02-17 12:03:05 -08:00
parent 4d2d70d037
commit e68bfd0534

View File

@ -167,21 +167,12 @@
// No unnecessary comparisons
"no-self-compare": 2,
// No declaring variables from an outer scope
"no-shadow": 1,
// No declaring variables that hide things like arguments
"no-shadow-restricted-names": 2,
// No spaces between function name and parentheses
"no-spaced-func": 1,
// No trailing whitespace
"no-trailing-spaces": 2,
// No using undeclared variables
"no-undef": 2,
// Error on newline where a semicolon is needed
"no-unexpected-multiline": 2,
@ -203,9 +194,6 @@
// Always require semicolon at end of statement
"semi": [2, "always"],
// Require space after keywords
"space-after-keywords": 2,
// Require space before blocks
"space-before-blocks": 2,
@ -492,9 +480,6 @@
// Disallow labels that share a name with a variable
"no-label-var": 2,
// Disallow negation of the left operand of an in expression
"no-negated-in-lhs": 2,
// Disallow creating new instances of String, Number, and Boolean
"no-new-wrappers": 2,
}