diff options
author | kumavis <aaron@kumavis.me> | 2016-06-24 07:53:27 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2016-06-24 07:53:27 +0800 |
commit | f0633463d0335da5351f1b4a7138e50fe1bf269c (patch) | |
tree | 187022610eb5c791517b50097074dc82e9604167 | |
parent | be25f4da06d7651b079f8345cd8dc4f01a2a0002 (diff) | |
download | tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.tar.gz tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.tar.zst tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.zip |
stop pedantic linting
-rw-r--r-- | .eslintrc | 8 | ||||
-rw-r--r-- | test/unit/linting_test.js | 2 |
2 files changed, 5 insertions, 5 deletions
@@ -42,7 +42,7 @@ "constructor-super": 2, "curly": [2, "multi-line"], "dot-location": [2, "property"], - "eol-last": 2, + "eol-last": 1, "eqeqeq": [2, "allow-null"], "generator-star-spacing": [2, { "before": true, "after": true }], "handle-callback-err": [2, "^(err|error)$" ], @@ -87,7 +87,7 @@ "no-mixed-spaces-and-tabs": 2, "no-multi-spaces": 2, "no-multi-str": 2, - "no-multiple-empty-lines": [2, { "max": 1 }], + "no-multiple-empty-lines": [1, { "max": 2 }], "no-native-reassign": 2, "no-negated-in-lhs": 2, "no-new": 2, @@ -112,7 +112,7 @@ "no-sparse-arrays": 2, "no-this-before-super": 2, "no-throw-literal": 2, - "no-trailing-spaces": 2, + "no-trailing-spaces": 1, "no-undef": 2, "no-undef-init": 2, "no-unexpected-multiline": 2, @@ -129,7 +129,7 @@ "no-with": 2, "one-var": [2, { "initialized": "never" }], "operator-linebreak": [2, "after", { "overrides": { "?": "before", ":": "before" } }], - "padded-blocks": [2, "never"], + "padded-blocks": [1, "never"], "quotes": [2, "single", "avoid-escape"], "semi": [2, "never"], "semi-spacing": [2, { "before": false, "after": true }], diff --git a/test/unit/linting_test.js b/test/unit/linting_test.js index 27b4b2b1e..75d90652d 100644 --- a/test/unit/linting_test.js +++ b/test/unit/linting_test.js @@ -3,7 +3,7 @@ const lint = require('mocha-eslint'); const lintPaths = ['app/**/*.js', 'ui/**/*.js', '!node_modules/**', '!dist/**', '!docs/**', '!app/scripts/chromereload.js'] const lintOptions = { - strict: true, + strict: false, } lint(lintPaths, lintOptions)
\ No newline at end of file |