| 1 |
{ |
| 2 |
"env": { |
| 3 |
"browser": true, |
| 4 |
"es2021": true, |
| 5 |
"mocha": true |
| 6 |
}, |
| 7 |
"extends": ["airbnb-base", "plugin:prettier/recommended"], |
| 8 |
"parserOptions": { |
| 9 |
"ecmaVersion": 12, |
| 10 |
"sourceType": "module" |
| 11 |
}, |
| 12 |
"plugins": ["prettier"], |
| 13 |
"rules": { |
| 14 |
"prettier/prettier": "error", |
| 15 |
"prefer-const": "off", |
| 16 |
"camelcase": "off", |
| 17 |
"no-underscore-dangle": "off", |
| 18 |
"consistent-return": "off", |
| 19 |
/* Remove the necessity to use this on classes */ |
| 20 |
"class-methods-use-this": "off", |
| 21 |
/* Enable variables declarations from shadowing variables declared in the outer scope */ |
| 22 |
"no-shadow": "off" |
| 23 |
} |
| 24 |
} |