mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"rules": {
|
|
"indent": [
|
|
2,
|
|
4
|
|
],
|
|
"quotes": [
|
|
2,
|
|
"single"
|
|
],
|
|
"linebreak-style": [
|
|
2,
|
|
"unix"
|
|
],
|
|
"semi": [
|
|
2,
|
|
"always"
|
|
],
|
|
"no-use-before-define": [
|
|
2,
|
|
{ "functions": false }
|
|
]
|
|
},
|
|
"env": {
|
|
"builtin": true,
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"overrides": [
|
|
{
|
|
"files": [ "bin/*", "babel.config.js", "webpack.config.js" ],
|
|
"rules": {
|
|
"no-console": 0
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"jquery": false,
|
|
"browser": false
|
|
}
|
|
}, {
|
|
"files": [ "test/**/*"],
|
|
"env": {
|
|
"jest": true,
|
|
"node": true
|
|
},
|
|
"rules": {
|
|
"no-console": 0
|
|
}
|
|
|
|
}, {
|
|
"files": [ "js/entry2.js", "js/entry2e.js"],
|
|
"env": {
|
|
"commonjs": true
|
|
}
|
|
}
|
|
]
|
|
}
|