mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
751ca97733
This includes adding a line to `.eslintrc` to allow `console.log`, `console.warn`, and `console.error`.
18 lines
445 B
Text
18 lines
445 B
Text
{
|
|
"rules": {
|
|
"curly": [2, "multi-line"],
|
|
"eol-last": [2],
|
|
"indent": [2, 4],
|
|
"quotes": [2, "single"],
|
|
"linebreak-style": [2, "unix"],
|
|
"max-len": [2, 80, 4],
|
|
"semi": [2, "always"],
|
|
"strict": [2, "never"],
|
|
"no-console": [2, {"allow": ["log", "warn", "error"]}]
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"browser": true
|
|
},
|
|
"extends": "eslint:recommended"
|
|
}
|