mirror of
https://github.com/whscullin/apple1js.git
synced 2024-12-26 13:31:40 +00:00
57 lines
1.1 KiB
JSON
57 lines
1.1 KiB
JSON
{
|
|
"rules": {
|
|
"indent": [
|
|
2,
|
|
4
|
|
],
|
|
"quotes": [
|
|
2,
|
|
"single"
|
|
],
|
|
"linebreak-style": [
|
|
2,
|
|
"unix"
|
|
],
|
|
"semi": [
|
|
2,
|
|
"always"
|
|
]
|
|
},
|
|
"env": {
|
|
"builtin": true,
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"globals": {
|
|
"tapes": 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": {
|
|
"node": true,
|
|
"jest": true
|
|
}
|
|
}, {
|
|
"files": [ "js/entry1.js"],
|
|
"env": {
|
|
"commonjs": true
|
|
}
|
|
}
|
|
]
|
|
}
|