2023-09-11 05:46:20 +02:00
|
|
|
module.exports = {
|
2024-04-07 07:30:49 +02:00
|
|
|
extends: [
|
|
|
|
|
"eslint:recommended",
|
|
|
|
|
"plugin:@typescript-eslint/strict-type-checked",
|
|
|
|
|
"plugin:@typescript-eslint/stylistic",
|
|
|
|
|
"plugin:prettier/recommended",
|
|
|
|
|
],
|
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
|
parserOptions: {
|
|
|
|
|
project: "./tsconfig.json",
|
|
|
|
|
},
|
|
|
|
|
ignorePatterns: ["node_modules/", "dist/", ".eslintrc.cjs"],
|
|
|
|
|
plugins: ["@typescript-eslint"],
|
|
|
|
|
root: true,
|
|
|
|
|
rules: {
|
|
|
|
|
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
|
|
|
"@typescript-eslint/no-unsafe-argument": "off",
|
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
|
"@typescript-eslint/consistent-type-exports": "error",
|
|
|
|
|
"@typescript-eslint/consistent-type-imports": "error",
|
|
|
|
|
},
|
2023-09-11 05:46:20 +02:00
|
|
|
};
|