72 lines
1.4 KiB
JSON
72 lines
1.4 KiB
JSON
{
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true,
|
|
"defaultBranch": "main"
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"includes": ["**"],
|
|
"rules": {
|
|
"preset": "recommended",
|
|
"a11y": "off",
|
|
"correctness": {
|
|
"noUnusedImports": "error",
|
|
"noUnusedVariables": {
|
|
"level": "warn",
|
|
"fix": "none"
|
|
},
|
|
"noVoidTypeReturn": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"useConst": "error",
|
|
"useNodejsImportProtocol": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noControlCharactersInRegex": "off",
|
|
"noEmptyInterface": "off",
|
|
"noConstEnum": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 3,
|
|
"lineWidth": 120,
|
|
"lineEnding": "lf"
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"semicolons": "always",
|
|
"quoteStyle": "double",
|
|
"trailingCommas": "all",
|
|
"bracketSpacing": true,
|
|
"arrowParentheses": "asNeeded"
|
|
}
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"packages/*/src/**/*.ts",
|
|
"packages/*/src/**/*.tsx",
|
|
"packages/*/test/**/*.ts",
|
|
"packages/*/examples/**/*.ts",
|
|
"packages/*/scripts/**/*.ts",
|
|
"packages/*/*.ts",
|
|
"scripts/**/*.ts",
|
|
"!packages/natives/native/index.d.ts",
|
|
"!**/vendor/**/*",
|
|
"!**/node_modules/**/*",
|
|
"!**/test-sessions.ts",
|
|
"!**/agent_pb.ts",
|
|
"!**/devin-gen/**/*",
|
|
"!.worktrees/**/*",
|
|
"!.wt/**/*"
|
|
]
|
|
},
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } }
|
|
}
|