diff options
author | Tim Graham <timograham@gmail.com> | 2015-07-20 19:20:54 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-07-22 17:09:53 -0400 |
commit | 3c0770f23deef6a10f57f1f23998f680e2d1e5b2 (patch) | |
tree | 5cdece6f4353a79effdfc0c0ffc432a6830c9ff0 /.eslintrc | |
parent | 5dceb7c82875e4bcb0b4fe27fc1c6d3e6a5ee30b (diff) | |
download | django-3c0770f23deef6a10f57f1f23998f680e2d1e5b2.tar.gz |
Ignored "camelcase", "new-cap", and "quotes" JavaScript rules.
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 29 |
1 files changed, 7 insertions, 22 deletions
@@ -1,18 +1,12 @@ { "rules": { - "camelcase": [1, {"properties": "always"}], + "camelcase": [0, {"properties": "always"}], "comma-spacing": [2, {"before": false, "after": true}], "dot-notation": [2, {"allowKeywords": true}], "curly": [2, "all"], - "indent": [ - 2, - 4 - ], - "key-spacing": [2, { - "beforeColon": false, - "afterColon": true - }], - "new-cap": [1, {"newIsCap": true, "capIsNew": true}], + "indent": [2, 4], + "key-spacing": [2, {"beforeColon": false, "afterColon": true}], + "new-cap": [0, {"newIsCap": true, "capIsNew": true}], "no-alert": [0], "no-eval": [1], "no-extend-native": [2, {"exceptions": ["Date", "String"]}], @@ -22,18 +16,9 @@ "no-unused-vars": [2, {"vars": "local", "args": "none"}], "no-script-url": [1], "no-shadow": [2, {"hoist": "functions"}], - "quotes": [ - 1, - "single" - ], - "linebreak-style": [ - 2, - "unix" - ], - "semi": [ - 2, - "always" - ], + "quotes": [0, "single"], + "linebreak-style": [2, "unix"], + "semi": [2, "always"], "space-before-blocks": [2, "always"], "space-before-function-paren": [2, {"anonymous": "never", "named": "never"}], "space-infix-ops": [2, {"int32Hint": false}], |