.eslintrc.json•885 B
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"ignoreRestSiblings": true
}],
"no-console": "off",
"prefer-const": "error",
"no-var": "error"
},
"ignorePatterns": [
"node_modules/",
"build/",
"dist/",
"*.js",
"*.d.ts",
"src/tools-advanced/**"
],
"env": {
"node": true,
"es2022": true
}
}