chaos/.eslintrc

45 lines
977 B
Plaintext
Raw Normal View History

2015-12-22 20:33:40 +00:00
{
"extends": "eslint:recommended",
"rules": {
"no-shadow": 2,
"no-catch-shadow": 2,
"no-shadow-restricted-names": 2,
"radix": 2,
"wrap-iife": 2,
"yoda": 2,
"semi": 2,
"indent": 2,
"camelcase": 2,
"brace-style": 2,
"comma-spacing": 2,
"comma-style": 2,
"quotes": [2, "single", "avoid-escape"],
"no-spaced-func": 2,
"space-after-keywords": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"space-in-parens": 2,
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-unary-ops": 2,
"no-trailing-spaces": 0,
"no-underscore-dangle": 0
},
"ecmaFeatures": {
2015-12-23 21:31:51 +00:00
"modules": true,
"jsx": true
2015-12-22 20:33:40 +00:00
},
2015-12-23 21:31:51 +00:00
"plugins": [
"react"
],
2015-12-22 20:33:40 +00:00
"env": {
"es6": true,
"browser": true
}
}