apple1js/.eslintrc.json
Will Scullin 41dbf0b420
First commit to github.
Based on original webpage version, modified to use
webpack and babel.
2019-09-04 20:03:11 -07:00

54 lines
1.0 KiB
JSON

{
"rules": {
"indent": [
2,
4
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
]
},
"env": {
"builtin": true,
"browser": true,
"jquery": 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
}
}, {
"files": [ "js/entry1.js"],
"env": {
"commonjs": true
}
}
]
}