scratch-www/.eslintrc

31 lines
755 B
Text
Raw Normal View History

2015-09-02 15:08:58 -04:00
{
"rules": {
"curly": [2, "multi-line"],
"eol-last": [2],
2015-09-02 15:08:58 -04:00
"indent": [2, 4],
"linebreak-style": [2, "unix"],
"max-len": [2, 120, 4],
2015-09-10 15:00:07 -04:00
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"no-unused-vars": [2, {"args": "after-used", "varsIgnorePattern": "^_"}],
"quotes": [2, "single"],
2015-09-02 15:08:58 -04:00
"semi": [2, "always"],
2015-09-10 15:00:07 -04:00
"space-before-function-paren": [2, "always"],
"strict": [2, "never"]
2015-09-02 15:08:58 -04:00
},
"env": {
"browser": true,
"node": true
},
"globals": {
"formatMessage": true
},
2015-09-02 15:08:58 -04:00
"ecmaFeatures": {
2016-04-18 14:07:27 -04:00
"jsx": true,
"blockBindings": true
2015-09-02 15:08:58 -04:00
},
"plugins": [
"react"
],
"extends": "eslint:recommended"
}