aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-06-24 07:53:27 +0800
committerkumavis <aaron@kumavis.me>2016-06-24 07:53:27 +0800
commitf0633463d0335da5351f1b4a7138e50fe1bf269c (patch)
tree187022610eb5c791517b50097074dc82e9604167
parentbe25f4da06d7651b079f8345cd8dc4f01a2a0002 (diff)
downloadtangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.tar
tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.tar.gz
tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.tar.bz2
tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.tar.lz
tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.tar.xz
tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.tar.zst
tangerine-wallet-browser-f0633463d0335da5351f1b4a7138e50fe1bf269c.zip
stop pedantic linting
-rw-r--r--.eslintrc8
-rw-r--r--test/unit/linting_test.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/.eslintrc b/.eslintrc
index 635c47a95..e64b3e5be 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -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