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:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc27
1 files changed, 21 insertions, 6 deletions
diff --git a/.eslintrc b/.eslintrc
index 25ac1d7..2182f31 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,27 +1,36 @@
{
+ "extends": "eslint:recommended",
"ecmaFeatures": {
"blockBindings": true
},
"rules": {
+ "array-bracket-spacing": [2, "never"],
+ "arrow-parens": 2,
+ "arrow-spacing": [2, {"before": true, "after": true}],
"block-scoped-var": 2,
"brace-style": [2, "stroustrup"],
"camelcase": 2,
+ "constructor-super": 2,
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
+ "computed-property-spacing": [2, "never"],
"consistent-this": [2, "self"],
"curly": 2,
+ "dot-location": [2, "property"],
"eol-last": 2,
"eqeqeq": 2,
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
+ "linebreak-style": [2, "unix"],
"new-cap": 2,
"new-parens": 2,
"no-array-constructor": 2,
"no-bitwise": 2,
+ "no-const-assign": 2,
"no-constant-condition": 0,
"no-dupe-args": 2,
"no-duplicate-case": 2,
+ "no-empty-character-class": 2,
"no-eval": 2,
- "no-extra-strict": 0,
"no-floating-decimal": 2,
"no-implied-eval": 2,
"no-inline-comments": 0,
@@ -32,28 +41,34 @@
"no-new-object": 2,
"no-param-reassign": 0,
"no-process-env": 2,
- "no-reserved-keys": 0,
"no-self-compare": 2,
"no-spaced-func": 2,
+ "no-this-before-super": 2,
"no-throw-literal": 2,
"no-trailing-spaces": 2,
"no-underscore-dangle": 0,
+ "no-unexpected-multiline": 2,
+ "no-unneeded-ternary": 2,
+ "no-useless-call": 2,
"no-void": 2,
"one-var": [2, "never"],
+ "object-curly-spacing": [2, "never"],
"operator-assignment": [2, "always"],
+ "operator-linebreak": [2, "after"],
"padded-blocks": 0,
+ "prefer-const": 2,
+ "prefer-spread": 2,
+ "quote-props": [2, "as-needed", {"keywords": true}],
"quotes": 0,
"radix": 2,
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
- "space-after-keywords": [2, "always", {"checkFunctionKeyword": true}],
+ "space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
- "space-before-function-parentheses": [2, {"anonymous": "always", "named": "never"}],
- "space-in-brackets": [2, "never"],
+ "space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"space-in-parens": [2, "never"],
"space-return-throw-case": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
- "spaced-line-comment": [2, "always"],
"strict": [2, "global"],
"vars-on-top": 0,
"wrap-iife": [2, "inside"],