2022-09-10 09:32:54 +01:00
|
|
|
{
|
2022-09-21 19:06:13 +01:00
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"es2021": true
|
|
|
|
},
|
|
|
|
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest"
|
|
|
|
},
|
2022-09-10 09:32:54 +01:00
|
|
|
"rules": {
|
|
|
|
"prettier/prettier": "error",
|
|
|
|
"no-unused-vars": "warn",
|
|
|
|
"no-console": "off",
|
|
|
|
"func-names": "off",
|
|
|
|
"no-process-exit": "off",
|
|
|
|
"object-shorthand": "off",
|
|
|
|
"class-methods-use-this": "off",
|
|
|
|
"eqeqeq": "off",
|
|
|
|
"node/no-unsupported-features/es-syntax": "off",
|
|
|
|
"consistent-return": "off",
|
|
|
|
"no-plusplus": "off",
|
|
|
|
"no-underscore-dangle": "off"
|
|
|
|
}
|
2022-09-21 19:06:13 +01:00
|
|
|
}
|