feature: Adds eslint rules.
This commit is contained in:
parent
57a82a15e9
commit
abc60691c6
26 changed files with 123 additions and 94 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