Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/mq4-hover-shim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@chrisrebert.com>2015-10-01 11:35:18 +0300
committerChris Rebert <code@chrisrebert.com>2015-10-01 11:35:18 +0300
commitfc9f525dc647920b3e9413eaf115e3c3e14cdc58 (patch)
tree34ac4bd1d6e7c426f62adb31df8c3f154ee478bb
parenta19f0a7a6db13315f1ef9910ccc463105bd545be (diff)
Update ESLint settings
-rw-r--r--.eslintrc8
-rw-r--r--src/nodejs/postprocessor.js1
-rw-r--r--test/postprocessor_test.js1
3 files changed, 9 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index 61e9554..0d4248b 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -8,6 +8,7 @@
"arrow-parens": 2,
"arrow-spacing": [2, {"before": true, "after": true}],
"block-scoped-var": 2,
+ "block-spacing": [2, "always"],
"brace-style": [2, "stroustrup"],
"camelcase": 2,
"constructor-super": 2,
@@ -28,10 +29,10 @@
"no-const-assign": 2,
"no-constant-condition": 0,
"no-dupe-args": 2,
+ "no-dupe-class-members": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-eval": 2,
- "spaced-comment": [2, "always", {"markers": ["!"]}],
"no-floating-decimal": 2,
"no-implied-eval": 2,
"no-inline-comments": 0,
@@ -42,6 +43,7 @@
"no-new-object": 2,
"no-param-reassign": 0,
"no-process-env": 2,
+ "no-restricted-syntax": [2, "WithStatement"],
"no-self-compare": 2,
"no-spaced-func": 2,
"no-this-before-super": 2,
@@ -54,6 +56,7 @@
"no-void": 2,
"one-var": [2, "never"],
"object-curly-spacing": [2, "never"],
+ "object-shorthand": [2, "always"],
"operator-assignment": [2, "always"],
"operator-linebreak": [2, "after"],
"padded-blocks": 0,
@@ -62,14 +65,17 @@
"quote-props": [2, "as-needed", {"keywords": true}],
"quotes": 0,
"radix": 2,
+ "require-jsdoc": 2,
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
+ "space-before-keywords": [2, "always"],
"space-in-parens": [2, "never"],
"space-return-throw-case": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
+ "spaced-comment": [2, "always", {"markers": ["!"]}],
"strict": [2, "global"],
"vars-on-top": 0,
"wrap-iife": [2, "inside"],
diff --git a/src/nodejs/postprocessor.js b/src/nodejs/postprocessor.js
index ccfc408..c58531a 100644
--- a/src/nodejs/postprocessor.js
+++ b/src/nodejs/postprocessor.js
@@ -1,4 +1,5 @@
/* eslint-env node */
+/* eslint require-jsdoc:0 */
/*!
* Postprocessor for shimming @media (hover: hover) from Media Queries Level 4
* https://github.com/twbs/mq4-hover-shim
diff --git a/test/postprocessor_test.js b/test/postprocessor_test.js
index 9b5fc4d..48d4015 100644
--- a/test/postprocessor_test.js
+++ b/test/postprocessor_test.js
@@ -1,4 +1,5 @@
/* eslint-env node */
+/* eslint object-shorthand:0 */
'use strict';
var postprocessor = require('../src/nodejs/postprocessor.js');