2022-03-02 16:44:11 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
2022-03-06 21:48:29 +00:00
|
|
|
"parser": "@typescript-eslint/parser",
|
2022-03-08 07:11:47 +00:00
|
|
|
"extends": ["plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
|
|
|
|
"plugins": ["@typescript-eslint/eslint-plugin", "simple-import-sort", "unused-imports"],
|
2022-03-06 21:48:29 +00:00
|
|
|
"rules": {
|
|
|
|
// TypeScript ESLint
|
|
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/interface-name-prefix": "off",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
|
|
// Simple Import Sort
|
|
|
|
"simple-import-sort/imports": "error",
|
|
|
|
"simple-import-sort/exports": "error",
|
|
|
|
// Unused Imports
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"unused-imports/no-unused-imports": "error",
|
|
|
|
"unused-imports/no-unused-vars": [
|
|
|
|
"warn",
|
|
|
|
{
|
|
|
|
"vars": "all",
|
|
|
|
"varsIgnorePattern": "^_",
|
|
|
|
"args": "none",
|
|
|
|
"argsIgnorePattern": "^_"
|
2022-03-02 16:44:11 +00:00
|
|
|
}
|
2022-03-06 21:48:29 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"overrides": [
|
2022-03-02 16:44:11 +00:00
|
|
|
{
|
2022-03-08 07:11:47 +00:00
|
|
|
"files": ["*.js"],
|
2022-03-06 21:48:29 +00:00
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-var-requires": "off"
|
|
|
|
}
|
2022-03-02 16:44:11 +00:00
|
|
|
}
|
|
|
|
]
|
2022-03-08 07:11:47 +00:00
|
|
|
}
|