scratch-www/.eslintrc
Matthew Taylor 925eeafa7e Add lint exception for formatMessage injection
It's a bit magical, but it's how they do it...
2015-10-16 11:05:39 -04:00

29 lines
724 B
Text

{
"rules": {
"curly": [2, "multi-line"],
"eol-last": [2],
"indent": [2, 4],
"linebreak-style": [2, "unix"],
"max-len": [2, 120, 4],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"no-unused-vars": [2, {"args": "after-used", "varsIgnorePattern": "^_"}],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-before-function-paren": [2, "always"],
"strict": [2, "never"]
},
"env": {
"browser": true,
"node": true
},
"globals": {
"formatMessage": true
},
"ecmaFeatures": {
"jsx": true
},
"plugins": [
"react"
],
"extends": "eslint:recommended"
}