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