mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-03-25 09:25:47 +00:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
48 lines
No EOL
1.3 KiB
JSON
48 lines
No EOL
1.3 KiB
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2022,
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es2022": true
|
|
},
|
|
"ignorePatterns": [
|
|
"dist/",
|
|
"node_modules/",
|
|
"coverage/",
|
|
"*.js",
|
|
"scripts/prepare-release.js",
|
|
"tests/**/*.ts"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"@typescript-eslint/no-unused-vars": ["error", {
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_",
|
|
"caughtErrorsIgnorePattern": "^_"
|
|
}],
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "warn",
|
|
"no-console": "error",
|
|
"prefer-const": "error",
|
|
"no-var": "error",
|
|
"eqeqeq": ["error", "always"],
|
|
"curly": ["error", "all"],
|
|
"brace-style": ["error", "1tbs"],
|
|
"quotes": ["error", "double", { "avoidEscape": true }],
|
|
"semi": ["error", "always"],
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
"no-trailing-spaces": "error",
|
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
"max-len": ["warn", { "code": 120, "ignoreUrls": true, "ignoreStrings": true }]
|
|
}
|
|
} |