19 lines
376 B
JavaScript
19 lines
376 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",
|
|
},
|
|
},
|
|
];
|