Files

59 lines
1.6 KiB
Plaintext
Raw Permalink Normal View History

2021-12-16 19:06:42 +09:00
{
"root": true,
"parser": "@typescript-eslint/parser",
2025-02-18 12:59:18 +00:00
"plugins": [
"@typescript-eslint",
"eslint-plugin-svelte",
"eslint-plugin-import"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
2021-12-16 19:06:42 +09:00
"parserOptions": {
2023-04-10 12:04:30 +09:00
"sourceType": "module",
2025-02-18 12:59:18 +00:00
"project": [
"tsconfig.json"
]
2021-12-16 19:06:42 +09:00
},
2025-02-18 12:59:18 +00:00
"ignorePatterns": [
"**/node_modules/*",
"**/jest.config.js",
"src/lib/coverage",
"src/lib/browsertest",
"**/test.ts",
"**/tests.ts",
"**/**test.ts",
"**/**.test.ts",
"src/apps/**",
2025-02-18 12:59:18 +00:00
"esbuild.*.mjs",
"terser.*.mjs"
],
2021-12-16 19:06:42 +09:00
"rules": {
"no-unused-vars": "off",
2023-04-10 12:04:30 +09:00
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "none"
}
],
2024-09-24 14:00:44 +01:00
"no-unused-labels": "off",
2021-12-16 19:06:42 +09:00
"@typescript-eslint/ban-ts-comment": "off",
"no-prototype-builtins": "off",
"@typescript-eslint/no-empty-function": "off",
"require-await": "warn",
2024-10-16 12:44:07 +01:00
"@typescript-eslint/require-await": "warn",
"@typescript-eslint/no-misused-promises": "warn",
"@typescript-eslint/no-floating-promises": "warn",
"no-async-promise-executor": "warn",
2023-04-10 12:04:30 +09:00
"@typescript-eslint/no-explicit-any": "off",
2024-09-24 14:00:44 +01:00
"@typescript-eslint/no-unnecessary-type-assertion": "error",
2024-10-16 12:44:07 +01:00
"no-constant-condition": [
"error",
{
"checkLoops": false
}
]
2021-12-16 19:06:42 +09:00
}
2025-02-18 12:59:18 +00:00
}