diff options
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 00000000..45b46f4c --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,24 @@ +{ + "extends": "eslint:recommended", + "rules": { + "no-undef": "off", + "no-unused-vars": "off", + + "eqeqeq": ["warn", "smart"], + "no-console": "warn", + "no-loop-func": "warn", + + "block-spacing": "error", + "camelcase": "error", + "comma-spacing": "error", + "comma-style": "error", + "curly": ["error", "multi-line", "consistent"], + "indent": ["error", "tab"], + "no-alert": "error", + "no-trailing-spaces": "error", + "quotes": ["error", "single", "avoid-escape"], + "semi": "error", + "space-before-blocks": "error" + + } +} |