summaryrefslogtreecommitdiffstats
path: root/web/react/.eslintrc
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-09-03 11:06:29 -0400
committerChristopher Speller <crspeller@gmail.com>2015-09-03 15:00:47 -0400
commitd064f1d4ff7720133fdaf4fb6c5eed7f0585bba3 (patch)
tree025b6f55df53947196b7e6309fc6658b40282a05 /web/react/.eslintrc
parent4b22c1f99cb05be5ca187f2fd70ee2664c34de57 (diff)
downloadchat-d064f1d4ff7720133fdaf4fb6c5eed7f0585bba3.tar.gz
chat-d064f1d4ff7720133fdaf4fb6c5eed7f0585bba3.tar.bz2
chat-d064f1d4ff7720133fdaf4fb6c5eed7f0585bba3.zip
Upgrading some warnings to errors so Travis won't accept them. Enabling some more rules as warnings.
Diffstat (limited to 'web/react/.eslintrc')
-rw-r--r--web/react/.eslintrc44
1 files changed, 22 insertions, 22 deletions
diff --git a/web/react/.eslintrc b/web/react/.eslintrc
index 41558aacd..663d73fae 100644
--- a/web/react/.eslintrc
+++ b/web/react/.eslintrc
@@ -23,16 +23,16 @@
"rules": {
"comma-dangle": [2, "never"],
"no-cond-assign": [2, "except-parens"],
- "no-console": 1,
- "no-constant-condition": 1,
- "no-debugger": 1,
+ "no-console": 2,
+ "no-constant-condition": 2,
+ "no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
- "no-empty": 1,
- "no-ex-assign": 1,
+ "no-empty": 2,
+ "no-ex-assign": 2,
"no-extra-semi": 2,
- "no-func-assign": 1,
+ "no-func-assign": 2,
"no-inner-declarations": 0,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
@@ -40,19 +40,19 @@
"no-unreachable": 2,
"valid-typeof": 2,
- "block-scoped-var": 1,
- "complexity": [0, 8],
+ "block-scoped-var": 2,
+ "complexity": [1, 8],
"consistent-return": 2,
"curly": [2, "all"],
"dot-location": [2, "object"],
"dot-notation": 2,
"eqeqeq": [2, "smart"],
- "guard-for-in": 1,
- "no-alert": 1,
+ "guard-for-in": 2,
+ "no-alert": 2,
"no-array-constructor": 2,
"no-caller": 2,
- "no-div-regex": 1,
- "no-else-return": 1,
+ "no-div-regex": 2,
+ "no-else-return": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
@@ -60,7 +60,7 @@
"no-implied-eval": 2,
"no-iterator": 2,
"no-labels": 2,
- "no-lone-blocks": 1,
+ "no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-spaces": [2, { "exceptions": { "Property": false } }],
"no-multi-str": 0,
@@ -82,9 +82,9 @@
"no-throw-literal": 2,
"no-undef-init": 2,
"no-unused-expressions": 2,
- "no-useless-concat": 0,
+ "no-useless-concat": 1,
"no-void": 2,
- "no-warning-comments": 0,
+ "no-warning-comments": 1,
"no-with": 2,
"radix": 2,
"vars-on-top": 0,
@@ -148,13 +148,13 @@
"no-dupe-class-members": 2,
"no-this-before-super": 2,
"no-var": 0,
- "object-shorthand": [0, "always"],
- "prefer-arrow-callback": 0,
- "prefer-const": 0,
+ "object-shorthand": [1, "always"],
+ "prefer-arrow-callback": 1,
+ "prefer-const": 1,
"prefer-spread": 2,
- "prefer-reflect": 0,
- "prefer-template": 0,
- "require-yield": 0,
+ "prefer-reflect": 1,
+ "prefer-template": 1,
+ "require-yield": 2,
// React Specific
"react/display-name": [2, { "acceptTranspilerName": true }],
@@ -164,7 +164,7 @@
"react/jsx-indent-props": [2, 4],
"react/jsx-max-props-per-line": [2, { "maximum": 1 }],
"react/jsx-no-duplicate-props": [2, { "ignoreCase": false }],
- "react/jsx-no-literals": 0,
+ "react/jsx-no-literals": 1,
"react/jsx-no-undef": 2,
"react/jsx-quotes": [2, "single", "avoid-escape"],
"react/jsx-uses-react": 2,