chore: add code quality tooling

This commit is contained in:
MythEclipse
2026-05-13 15:28:25 +07:00
parent 2676998411
commit 138aa397e2
15 changed files with 2023 additions and 891 deletions
+13 -5
View File
@@ -1,15 +1,23 @@
{
"files": {
"includes": ["src/**/*.ts", "tests/**/*.ts", "*.json", "*.ts"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"includes": ["src/**/*.ts", "tests/**/*.ts", "*.json", "*.ts"]
"indentWidth": 2
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
},
"includes": ["src/**/*.ts", "tests/**/*.ts", "*.json", "*.ts"]
"recommended": false,
"style": {
"noNonNullAssertion": "warn",
"useNodejsImportProtocol": "warn"
},
"suspicious": {
"noExplicitAny": "warn"
}
}
}
}