forked from google/neuroglancer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
67 lines (67 loc) · 1.85 KB
/
.oxlintrc.json
File metadata and controls
67 lines (67 loc) · 1.85 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "typescript", "oxc", "unicorn", "promise", "vitest"],
"env": {
"browser": true,
},
"settings": {},
"rules": {
// Seems to be buggy
"no-loss-of-precision": "off",
"import/no-cycle": "error",
"import/first": "error",
"no-unsafe-finally": "off",
"require-yield": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off",
"erasing-op": "off",
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"ignoreRestSiblings": true,
},
],
"no-new-array": "off",
"no-document-cookie": "off",
"no-constant-condition": "off",
"@typescript-eslint/consistent-type-imports": "error",
"no-unused-expressions": "off",
"eslint-plugin-jest/no-standalone-expect": "off",
"eslint-plugin-jest/expect-expect": "off",
"eslint-plugin-jest/valid-expect": "off",
"eslint-plugin-jest/no-conditional-expect": "off",
"eslint-plugin-jest/valid-describe-callback": "off",
"@typescript-eslint/no-unsafe-declaration-merging": "off",
},
"overrides": [
{
"files": ["*.test.ts", "*.spec.ts"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
},
},
],
"ignorePatterns": [
"**/node_modules",
"**/dist",
"**/python",
"src/third_party/jpgjs/jpg.js",
"**/build",
"**/.tox",
"**/.nox",
"**/.venv",
"lib",
"**/python",
"**/config",
"**/typings",
"src/mesh/draco/stub.js",
"**/tsconfig.tsbuildinfo",
"examples",
],
}