.eslintrc.json
{
"env": {
"commonjs": true,
"es6": true,
"node": true,
"jest/globals": true
},
"extends": [
"airbnb-base"
],
"plugins": ["jest"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 11
},
"rules": {
"arrow-parens": [
"error",
"as-needed",
{
"requireForBlockBody": false
}
],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
}
}