2016-11-21 21:17:34 -08:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
2,
|
|
|
|
4
|
2019-01-09 00:51:25 -08:00
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
2,
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
2,
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"semi": [
|
2020-01-02 11:11:04 -08:00
|
|
|
1,
|
2019-01-09 00:51:25 -08:00
|
|
|
"always"
|
2019-10-16 20:18:53 -07:00
|
|
|
],
|
|
|
|
"no-use-before-define": [
|
|
|
|
2,
|
|
|
|
{ "functions": false }
|
2020-01-02 11:11:04 -08:00
|
|
|
],
|
|
|
|
"no-console": [
|
|
|
|
2,
|
|
|
|
{ "allow": ["info", "warn", "error"] }
|
2016-11-21 21:17:34 -08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"env": {
|
2019-01-09 00:51:25 -08:00
|
|
|
"builtin": true,
|
2016-11-21 21:17:34 -08:00
|
|
|
"browser": true,
|
2019-02-28 21:21:18 -08:00
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module"
|
2016-11-21 21:17:34 -08:00
|
|
|
},
|
2019-03-02 22:46:37 -08:00
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"overrides": [
|
|
|
|
{
|
2019-03-26 21:02:27 -07:00
|
|
|
"files": [ "bin/*", "babel.config.js", "webpack.config.js" ],
|
2019-03-02 22:46:37 -08:00
|
|
|
"rules": {
|
|
|
|
"no-console": 0
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"jquery": false,
|
|
|
|
"browser": false
|
|
|
|
}
|
2019-03-26 21:02:27 -07:00
|
|
|
}, {
|
2019-10-16 20:18:53 -07:00
|
|
|
"files": [ "test/**/*"],
|
2019-03-26 21:02:27 -07:00
|
|
|
"env": {
|
2019-09-18 18:46:26 -07:00
|
|
|
"jest": true,
|
|
|
|
"node": true
|
2019-10-16 20:18:53 -07:00
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-console": 0
|
2019-03-26 21:02:27 -07:00
|
|
|
}
|
2019-10-16 20:18:53 -07:00
|
|
|
|
2019-03-31 20:52:45 -07:00
|
|
|
}, {
|
|
|
|
"files": [ "js/entry2.js", "js/entry2e.js"],
|
|
|
|
"env": {
|
|
|
|
"commonjs": true
|
|
|
|
}
|
2019-03-02 22:46:37 -08:00
|
|
|
}
|
|
|
|
]
|
2016-11-21 21:17:34 -08:00
|
|
|
}
|