-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
33 lines (33 loc) · 903 Bytes
/
Copy path.oxlintrc.json
File metadata and controls
33 lines (33 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "typescript", "unicorn"],
"ignorePatterns": ["dist", "node_modules", "**/*.tsbuildinfo"],
"options": {
"typeAware": true
},
"rules": {
"eqeqeq": "error",
"import/first": "error",
"import/newline-after-import": "error",
"sort-imports": [
"error",
{
"allowSeparatedGroups": true,
"ignoreCase": false,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false
}
],
"typescript/consistent-type-imports": [
"error",
{
"fixStyle": "separate-type-imports",
"prefer": "type-imports"
}
],
"typescript/no-explicit-any": "error",
"typescript/no-require-imports": "error",
"typescript/no-floating-promises": ["error", { "ignoreVoid": true }],
"typescript/await-thenable": "error"
}
}