From f0633463d0335da5351f1b4a7138e50fe1bf269c Mon Sep 17 00:00:00 2001 From: kumavis Date: Thu, 23 Jun 2016 16:53:27 -0700 Subject: [PATCH] stop pedantic linting --- .eslintrc | 8 ++++---- test/unit/linting_test.js | 2 +- 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