mirror of
https://github.com/cline/cline.git
synced 2026-10-30 18:12:49 +08:00
28 lines
656 B
JSON
28 lines
656 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["@typescript-eslint", "eslint-rules"],
|
|
"rules": {
|
|
"@typescript-eslint/naming-convention": [
|
|
"warn",
|
|
{
|
|
"selector": "import",
|
|
"format": ["camelCase", "PascalCase"]
|
|
}
|
|
],
|
|
"@typescript-eslint/semi": "off",
|
|
"curly": "warn",
|
|
"eqeqeq": "warn",
|
|
"no-throw-literal": "warn",
|
|
"semi": "off",
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"eslint-rules/no-protobuf-object-literals": "error",
|
|
"eslint-rules/no-grpc-client-object-literals": "error"
|
|
},
|
|
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
|
|
}
|