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.
23 lines
687 B
23 lines
687 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"],
|
|
// The `prefer-destructuring` rule causes issues
|
|
// https://github.com/naptha/tesseract.js/issues/847
|
|
"prefer-destructuring": 0
|
|
}
|
|
}
|
|
|