20 lines
No EOL
374 B
JavaScript
20 lines
No EOL
374 B
JavaScript
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
|
|
export default [
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
|
|
{
|
|
languageOptions: {
|
|
globals: globals.node,
|
|
},
|
|
|
|
rules: {
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"no-constant-condition": "warn"
|
|
}
|
|
},
|
|
]; |