feature: Adds eslint rules.
This commit is contained in:
parent
09f7987e75
commit
3c95c23369
26 changed files with 124 additions and 95 deletions
|
@ -4,7 +4,17 @@ import tseslint from "typescript-eslint";
|
|||
|
||||
|
||||
export default [
|
||||
{languageOptions: { globals: globals.node }},
|
||||
pluginJs.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
|
||||
{
|
||||
languageOptions: {
|
||||
globals: globals.node,
|
||||
},
|
||||
|
||||
rules: {
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"no-constant-condition": "warn"
|
||||
}
|
||||
},
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue