mirror of
https://github.com/nestriness/nestri.git
synced 2026-09-19 09:15:19 +03:00
feat: Sync to OSS repo
This commit is contained in:
29
oxlintrc.json
Normal file
29
oxlintrc.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/refs/heads/main/npm/oxlint/configuration_schema.json",
|
||||
"plugins": ["typescript", "unicorn", "oxc", "import", "jsdoc", "node", "promise", "vitest"],
|
||||
"categories": {
|
||||
"correctness": "error",
|
||||
"perf": "error"
|
||||
},
|
||||
"rules": {
|
||||
"no-console": "error",
|
||||
"curly": ["error", "multi-line"],
|
||||
"prefer-const": ["off", { "destructuring": "all" }],
|
||||
"prefer-destructuring": [
|
||||
"error",
|
||||
{
|
||||
"VariableDeclarator": { "array": false, "object": true }
|
||||
}
|
||||
],
|
||||
"unicode-bom": ["error", "never"],
|
||||
"eslint/no-unassigned-vars": "off",
|
||||
"typescript/consistent-indexed-object-style": ["error", "record"],
|
||||
"typescript/ban-ts-comment": ["error", { "ts-expect-error": "allow-with-description" }],
|
||||
"vitest/require-mock-type-parameters": "off",
|
||||
"vitest/prefer-snapshot-hint": "off"
|
||||
},
|
||||
"options": {
|
||||
"typeAware": true,
|
||||
"typeCheck": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user