-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.putout.json
79 lines (79 loc) · 3 KB
/
.putout.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"match": {
"README.md": {
"convert-to-arrow-function": "off",
"promises/convert-reject-to-throw": "off",
"promises/add-missing-await": "off",
"promises/remove-useless-async": "off"
},
"i18next-scanner.config.*.cjs": {
"convert-commonjs-to-esm": "off",
"convert-commonjs-to-esm/commons": "off",
"convert-commonjs-to-esm/exports": "off",
"convert-commonjs-to-esm/require": "off"
}
},
"plugins": ["react-hooks", "webpack", "convert-commonjs-to-esm"],
"rules": {
"apply-destructuring/array": "off",
"apply-destructuring/object": "off",
"apply-numeric-separators": "off",
"apply-optional-chaining": "off",
"convert-apply-to-spread": "off",
"convert-arguments-to-rest": "off",
"convert-array-copy-to-slice": "off",
"convert-commonjs-to-esm": "on",
"convert-commonjs-to-esm/commons": "on",
"convert-commonjs-to-esm/exports": "on",
"convert-commonjs-to-esm/require": "on",
"convert-equal-to-strict-equal": "off",
"convert-esm-to-commonjs": "off",
"convert-for-each-to-for-of": "off",
"convert-object-assign-to-merge-spread": "off",
"convert-quotes-to-backticks": "off",
"convert-to-arrow-function": "off",
"convert-typeof-to-is-type": "off",
"extract-sequence-expressions": "off",
"gitignore": "on",
"merge-if-statements": "off",
"nodejs/convert-fs-promises": "on",
"npmignore": "on",
"promises/add-missing-await": "on",
"promises/convert-reject-to-throw": "off",
"promises/remove-useless-async": "on",
"react-hooks/convert-class-to-function": "on",
"react-hooks/convert-component-to-use-state": "on",
"react-hooks/convert-import-component-to-use-state": "on",
"react-hooks/convert-state-to-hooks": "on",
"react-hooks/remove-bind": "on",
"react-hooks/remove-this": "on",
"react-hooks/rename-method-under-score": "on",
"regexp/optimize": "off",
"regexp/remove-useless-group": "off",
"remove-console": "off",
"remove-empty/import": "off",
"remove-nested-blocks": "off",
"remove-unused-variables": "off",
"remove-useless-array-constructor": "off",
"remove-useless-escape": "off",
"remove-useless-new": "off",
"remove-useless-return": "off",
"remove-useless-spread/object": "off",
"remove-useless-type-conversion/with-double-negations": "off",
"remove-useless-variables/remove": "off",
"remove-useless-variables/rename": "off",
"simplify-ternary": "off",
"split-variable-declarations": "off",
"strict-mode/add": "off",
"tape/add-t-end": "off",
"tape/convert-deep-equal-to-equal": "off",
"tape/convert-emitter-to-promise": "off",
"tape/convert-equal-to-not-ok": "off",
"tape/convert-equal-to-ok": "off",
"tape/remove-useless-t-end": "off",
"webpack/convert-loader-to-use": "on",
"webpack/convert-node-to-resolve-fallback": "off",
"webpack/convert-query-loader-to-use": "on"
},
"ignore": ["package.json", "node_modules", "package-locl.json", ".*", "*.cjs", "*.json"]
}