2022-09-10 09:32:54 +01:00
|
|
|
{
|
2022-12-05 22:44:54 +00:00
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"commonjs": true,
|
|
|
|
"es2021": true
|
|
|
|
},
|
|
|
|
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest"
|
|
|
|
},
|
2023-08-21 15:57:11 +01:00
|
|
|
"ignorePatterns": ["*.md"],
|
2022-12-05 22:44:54 +00: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"
|
|
|
|
}
|
|
|
|
}
|