forked from preactjs/preact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oxlint.json
44 lines (44 loc) · 1.11 KB
/
oxlint.json
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
{
"rules": {
"camelcase": [
1,
{
"allow": ["__test__*", "unstable_*", "UNSAFE_*"]
}
],
"no-unused-vars": [
2,
{
"args": "none",
"caughtErrors": "none",
"varsIgnorePattern": "^h|React|createElement|Fragment$"
}
],
"typescript/no-namespace": 0,
"no-constant-binary-expression": 0,
"no-useless-catch": 0,
"no-empty-pattern": 0,
"prefer-rest-params": 0,
"prefer-spread": 0,
"no-cond-assign": 0,
"react/jsx-no-bind": 0,
"react/no-danger": 0,
"react/no-danger-with-children": 0,
"react/prefer-stateless-function": 0,
"react/sort-comp": 0,
"jest/valid-expect": 0,
"jest/no-disabled-tests": 0,
"jest/no-test-callback": 0,
"jest/expect-expect": 0,
"jest/no-standalone-expect": 0,
"jest/no-export": 0,
"react/no-find-dom-node": 0,
"react/no-direct-mutation-state": 0,
"react/no-children-prop": 0,
"react/jsx-key": 0,
"react/no-string-refs": 0,
"react/require-render-return": 0,
"unicorn/no-new-array": 0,
"unicorn/prefer-string-starts-ends-with": 0
}
}