2023-11-13 11:51:55 +01:00
|
|
|
/* eslint-env node */
|
|
|
|
module.exports = {
|
2023-11-15 07:28:00 +01:00
|
|
|
extends: [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:solid/typescript",
|
|
|
|
"plugin:prettier/recommended",
|
|
|
|
"plugin:import/recommended",
|
|
|
|
"plugin:import/typescript",
|
|
|
|
],
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
plugins: ["@typescript-eslint", "solid", "prettier", "import"],
|
2023-11-13 11:51:55 +01:00
|
|
|
root: true,
|
2023-11-15 07:28:00 +01:00
|
|
|
settings: {
|
|
|
|
"import/resolver": {
|
|
|
|
typescript: {
|
|
|
|
project: "./tsconfig.json",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "error",
|
|
|
|
"no-duplicate-imports": ["error", { includeExports: true }],
|
|
|
|
"import/no-unresolved": "error",
|
|
|
|
"import/no-named-as-default-member": "off",
|
|
|
|
},
|
2023-11-13 11:51:55 +01:00
|
|
|
};
|