2023-06-28 23:28:46 +03:00
|
|
|
module.exports = {
|
2023-06-29 00:54:36 +03:00
|
|
|
env: {
|
|
|
|
node: true,
|
2023-06-28 23:44:18 +03:00
|
|
|
},
|
2023-06-29 00:54:36 +03:00
|
|
|
extends: [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:import/typescript",
|
2023-06-28 23:44:18 +03:00
|
|
|
],
|
2023-06-29 00:54:36 +03:00
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: "latest",
|
|
|
|
sourceType: "module",
|
2023-06-28 23:44:18 +03:00
|
|
|
},
|
2023-06-29 00:54:36 +03:00
|
|
|
plugins: ["@typescript-eslint", "import"],
|
2023-06-28 23:44:18 +03:00
|
|
|
globals: {
|
2023-06-29 00:54:36 +03:00
|
|
|
module: true,
|
2023-06-28 23:28:46 +03:00
|
|
|
},
|
2023-06-29 00:54:36 +03:00
|
|
|
settings: {
|
2023-06-28 23:28:46 +03:00
|
|
|
"import/parsers": {
|
2023-06-29 00:54:36 +03:00
|
|
|
"@typescript-eslint/parser": [".ts"],
|
2023-06-28 23:28:46 +03:00
|
|
|
},
|
|
|
|
"import/resolver": {
|
2023-06-29 00:54:36 +03:00
|
|
|
typescript: true,
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
"import/extensions": [".ts"],
|
2023-06-28 23:28:46 +03:00
|
|
|
},
|
2023-06-29 00:54:36 +03:00
|
|
|
rules: {
|
|
|
|
"linebreak-style": ["error", "unix"],
|
2023-08-03 01:52:56 +03:00
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
2023-06-29 00:54:36 +03:00
|
|
|
semi: ["error", "never"],
|
|
|
|
},
|
2023-06-28 23:28:46 +03:00
|
|
|
}
|