Files
MetonaToast/.eslintrc.json
T

31 lines
827 B
JSON

{
"root": true,
"env": {
"browser": true,
"es2020": true,
"node": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended"],
"rules": {
"no-console": "warn",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
"@typescript-eslint/no-explicit-any": "warn",
"prefer-const": "warn",
"no-undef": "off",
"no-empty": "off",
"no-useless-escape": "off",
"no-control-regex": "off",
"no-regex-spaces": "off",
"no-constant-condition": ["warn", { "checkLoops": false }]
},
"ignorePatterns": ["dist/", "coverage/", "node_modules/"]
}