.eslintrc.json•695 B
{
"env": {
"es2022": true,
"node": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-explicit-any": "off",
"no-console": "off",
"no-debugger": "warn",
"prefer-const": "warn",
"no-var": "error",
"no-undef": "off",
"no-case-declarations": "off",
"no-prototype-builtins": "off"
},
"ignorePatterns": [
"dist/",
"node_modules/",
"*.js",
"jest.setup.js",
"jest.config.mjs"
]
}