mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 10:58:23 -05:00
32 lines
803 B
Text
32 lines
803 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": {
|
|
"arrowFunctions": true,
|
|
"blockBindings": true,
|
|
"jsx": true
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"json"
|
|
],
|
|
"extends": "eslint:recommended"
|
|
}
|