You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
546 B
20 lines
546 B
{
|
|
"extends": "airbnb-base",
|
|
"parser": "@babel/eslint-parser",
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"mocha": true,
|
|
"worker": true
|
|
},
|
|
"rules": {
|
|
"no-underscore-dangle": 0,
|
|
"no-console": 0,
|
|
"global-require": 0,
|
|
"camelcase": 0,
|
|
"no-control-regex": 0,
|
|
// Airbnb disallows ForOfStatement based on the bizarre belief that loops are not readable
|
|
// https://github.com/airbnb/javascript/issues/1271
|
|
"no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"]
|
|
}
|
|
}
|
|
|