mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
chore: simplify lint and format config
This commit is contained in:
7 files changed
+9
-38
No files matched your search
+2
-19
@@ -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/**"]
|
||||
}
|
||||
Reference in new issue
Block a user