chore: simplify lint and format config

This commit is contained in:
Jones Jankovic committed 2026-11-03 10:11:54 +10:30
1 parent 31b8c96050
commit 6df36716b8
7 files changed
+9 -38

No files matched your search

+2 -19
View File
@@ -1,33 +1,16 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "oxc", "import"],
"categories": {
"correctness": "error"
},
"env": {
"builtin": true,
"browser": true,
"node": true
},
"globals": {
"__ENABLE_GH_RELEASE_UPDATE_CHECK__": "readonly",
"__GH_RELEASE_REPO__": "readonly",
"__UPDATE_CHANNEL__": "readonly",
"__BUILD_LABEL__": "readonly",
"__GOOGLE_OAUTH_CLIENT_ID__": "readonly",
"__OUTLOOK_OAUTH_CLIENT_ID__": "readonly"
},
"rules": {
"no-unused-vars": [
"error",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrors": "none"
"ignoreRestSiblings": true
}
],
"import/default": "off"
]
},
"ignorePatterns": ["src/public/**"]
}