summaryrefslogtreecommitdiff
path: root/node_modules/postcss-input-style/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/postcss-input-style/.eslintrc')
-rw-r--r--node_modules/postcss-input-style/.eslintrc34
1 files changed, 34 insertions, 0 deletions
diff --git a/node_modules/postcss-input-style/.eslintrc b/node_modules/postcss-input-style/.eslintrc
new file mode 100644
index 00000000..bac283ca
--- /dev/null
+++ b/node_modules/postcss-input-style/.eslintrc
@@ -0,0 +1,34 @@
+{
+ "env": {
+ "node": true,
+ "mocha": true
+ },
+
+ "rules": {
+ // Possible errors
+ "no-cond-assign": 0,
+ "no-console": 0,
+ "no-extra-parens": 2,
+
+ // Best practices
+ "block-scoped-var": 2,
+ "eqeqeq": [2, "smart"],
+ "no-else-return": 2,
+ "no-floating-decimal": 2,
+ "wrap-iife": [2, "inside"],
+
+ // Variables
+ "no-use-before-define": 1,
+
+ // Stylistic issues
+ "brace-style": 2,
+ "camelcase": 2,
+ "new-cap": 2,
+ "no-lonely-if": 2,
+ "no-underscore-dangle": 2,
+ "keyword-spacing": 2,
+ "space-in-brackets": 0,
+ "space-infix-ops": 2,
+ "quotes": [2, "single"]
+ }
+}