feat: add oxlint configuration
This commit is contained in:
4
.oxlintignore
Normal file
4
.oxlintignore
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
dist/**
|
||||||
|
node_modules/**
|
||||||
|
server
|
||||||
|
*.js
|
||||||
15
.oxlintrc.json
Normal file
15
.oxlintrc.json
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
||||||
|
"plugins": ["typescript", "unicorn", "oxc"],
|
||||||
|
"categories": {
|
||||||
|
"correctness": "error"
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"typescript/unbound-method": "off",
|
||||||
|
"typescript/no-base-to-string": "off",
|
||||||
|
"typescript/no-floating-promises": "off"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"builtin": true
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user