diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-01-14 13:00:35 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-01-16 16:35:57 +0100 |
commit | 33f0f5c08a845b17d27cd951652f4815eb2820f7 (patch) | |
tree | 8efead04d859ce8debd8720d7a8b4d235aaa6949 /.eslintrc.json | |
parent | 6013f2c2ad1c3b8abb03e37d52103d5e7eb57aeb (diff) |
.eslintrc.json: Configure eslint to use honor Mixxx coding conventions
JS coding conventions can be found at:
https://www.mixxx.org/wiki/doku.php/contributing_mappings#coding_conventions_for_javascript
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 3d9ae2ecf2..4fb1c0f169 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,15 +6,13 @@ }, "rules": { "no-unused-vars": ["error", { "vars": "all", "args": "none" }], - "no-undef": "off", "no-fallthrough": "off", - "no-mixed-spaces-and-tabs": "off", "no-console": "off", - "indent": "off", - "semi": "off", "no-tabs": "off", + "quotes": ["warn", "double"], + "eqeqeq": ["error", "always"], + "camelcase": "error", "no-redeclare": "off", - "curly": "off", "dot-location": "off", "getter-return": "off", "yoda": "off", |