diff options
author | Alex Yatskov <alex@foosoft.net> | 2019-11-24 21:40:30 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2019-11-24 21:40:30 -0800 |
commit | 233a115ff9d470ad26aabb53226da5517bd34940 (patch) | |
tree | a3a7c6232db6bbd52d396df8af585b20e8f13dda /.eslintrc.json | |
parent | 91c54e1853025c82b9f9e60c490c989ff7149d7d (diff) |
Fix broken link to eslintrc
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 00000000..44eaeff8 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,21 @@ +{ + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": 8 + }, + "rules": { + "arrow-parens": ["error", "as-needed"], + "comma-dangle": ["error", "never"], + "dot-notation": "error", + "eqeqeq": 2, + "no-case-declarations": "error", + "no-const-assign": 2, + "no-undef": 0, + "no-unused-vars": 0, + "no-var": 2, + "prefer-const": 2, + "quote-props": ["error", "consistent"], + "quotes": [2, "single", "avoid-escape"], + "semi": 2 + } +} |