.eslintrc.json•921 B
{
"env": {
"es2022": true,
"node": true
},
"extends": ["eslint:recommended", "@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{
"caughtErrors": "none",
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-non-null-assertion": "warn",
"prefer-const": "error",
"no-var": "error",
"no-console": "warn",
"no-undef": "off",
"no-useless-escape": "warn"
},
"ignorePatterns": ["dist/", "node_modules/", "coverage/", "*.js"]
}