@mado/oxlint 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/eslint.cjs +195 -214
- package/dist/eslint.js +192 -194
- package/dist/import.cjs +41 -60
- package/dist/import.js +38 -40
- package/dist/index.cjs +18 -38
- package/dist/index.js +15 -18
- package/dist/jest.cjs +68 -87
- package/dist/jest.js +65 -67
- package/dist/jsdoc.cjs +31 -50
- package/dist/jsdoc.js +28 -30
- package/dist/jsx-a11y.cjs +44 -63
- package/dist/jsx-a11y.js +41 -43
- package/dist/nextjs.cjs +29 -48
- package/dist/nextjs.js +26 -28
- package/dist/node.cjs +19 -38
- package/dist/node.js +16 -18
- package/dist/oxc.cjs +35 -54
- package/dist/oxc.js +32 -34
- package/dist/promise.cjs +24 -43
- package/dist/promise.js +21 -23
- package/dist/react-perf.cjs +12 -31
- package/dist/react-perf.js +9 -11
- package/dist/react.cjs +93 -112
- package/dist/react.js +90 -92
- package/dist/typescript.cjs +119 -138
- package/dist/typescript.js +116 -118
- package/dist/unicorn.cjs +146 -165
- package/dist/unicorn.js +143 -145
- package/dist/vitest.cjs +81 -100
- package/dist/vitest.js +78 -80
- package/dist/vue.cjs +54 -73
- package/dist/vue.js +51 -53
- package/package.json +6 -5
package/dist/import.cjs
CHANGED
|
@@ -1,97 +1,78 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
19
2
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
default: () => import_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(import_exports);
|
|
26
|
-
var rules = {
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const rules = {
|
|
27
6
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/consistent-type-specifier-style.html
|
|
28
|
-
|
|
7
|
+
'import/consistent-type-specifier-style': 'off',
|
|
29
8
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/default.html
|
|
30
|
-
|
|
9
|
+
'import/default': 'off',
|
|
31
10
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/export.html
|
|
32
|
-
|
|
11
|
+
'import/export': 'off',
|
|
33
12
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/exports-last.html
|
|
34
|
-
|
|
13
|
+
'import/exports-last': 'off',
|
|
35
14
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/extensions.html
|
|
36
|
-
|
|
15
|
+
'import/extensions': 'off',
|
|
37
16
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/first.html
|
|
38
|
-
|
|
17
|
+
'import/first': 'off',
|
|
39
18
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/group-exports.html
|
|
40
|
-
|
|
19
|
+
'import/group-exports': 'off',
|
|
41
20
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/max-dependencies.html
|
|
42
|
-
|
|
21
|
+
'import/max-dependencies': 'off',
|
|
43
22
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/named.html
|
|
44
|
-
|
|
23
|
+
'import/named': 'off',
|
|
45
24
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/namespace.html
|
|
46
|
-
|
|
25
|
+
'import/namespace': 'off',
|
|
47
26
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/newline-after-import.html
|
|
48
|
-
|
|
27
|
+
'import/newline-after-import': 'off',
|
|
49
28
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-absolute-path.html
|
|
50
|
-
|
|
29
|
+
'import/no-absolute-path': 'off',
|
|
51
30
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-amd.html
|
|
52
|
-
|
|
31
|
+
'import/no-amd': 'off',
|
|
53
32
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-anonymous-default-export.html
|
|
54
|
-
|
|
33
|
+
'import/no-anonymous-default-export': 'off',
|
|
55
34
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-commonjs.html
|
|
56
|
-
|
|
35
|
+
'import/no-commonjs': 'off',
|
|
57
36
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-cycle.html
|
|
58
|
-
|
|
37
|
+
'import/no-cycle': 'off',
|
|
59
38
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-default-export.html
|
|
60
|
-
|
|
39
|
+
'import/no-default-export': 'off',
|
|
61
40
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-duplicates.html
|
|
62
|
-
|
|
41
|
+
'import/no-duplicates': 'off',
|
|
63
42
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-dynamic-require.html
|
|
64
|
-
|
|
43
|
+
'import/no-dynamic-require': 'off',
|
|
65
44
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-empty-named-blocks.html
|
|
66
|
-
|
|
45
|
+
'import/no-empty-named-blocks': 'off',
|
|
67
46
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-mutable-exports.html
|
|
68
|
-
|
|
47
|
+
'import/no-mutable-exports': 'off',
|
|
69
48
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-named-as-default.html
|
|
70
|
-
|
|
49
|
+
'import/no-named-as-default': 'off',
|
|
71
50
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-named-as-default-member.html
|
|
72
|
-
|
|
51
|
+
'import/no-named-as-default-member': 'off',
|
|
73
52
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-named-default.html
|
|
74
|
-
|
|
53
|
+
'import/no-named-default': 'off',
|
|
75
54
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-named-export.html
|
|
76
|
-
|
|
55
|
+
'import/no-named-export': 'off',
|
|
77
56
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-namespace.html
|
|
78
|
-
|
|
57
|
+
'import/no-namespace': 'off',
|
|
79
58
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-nodejs-modules.html
|
|
80
|
-
|
|
59
|
+
'import/no-nodejs-modules': 'off',
|
|
81
60
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-relative-parent-imports.html
|
|
82
|
-
|
|
61
|
+
'import/no-relative-parent-imports': 'off',
|
|
83
62
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-self-import.html
|
|
84
|
-
|
|
63
|
+
'import/no-self-import': 'off',
|
|
85
64
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-unassigned-import.html
|
|
86
|
-
|
|
65
|
+
'import/no-unassigned-import': 'off',
|
|
87
66
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-webpack-loader-syntax.html
|
|
88
|
-
|
|
67
|
+
'import/no-webpack-loader-syntax': 'off',
|
|
89
68
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/prefer-default-export.html
|
|
90
|
-
|
|
69
|
+
'import/prefer-default-export': 'off',
|
|
91
70
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/unambiguous.html
|
|
92
|
-
|
|
71
|
+
'import/unambiguous': 'off'
|
|
93
72
|
};
|
|
94
|
-
var
|
|
95
|
-
plugins: [
|
|
73
|
+
var _import = {
|
|
74
|
+
plugins: ['import'],
|
|
96
75
|
rules
|
|
97
76
|
};
|
|
77
|
+
|
|
78
|
+
exports.default = _import;
|
package/dist/import.js
CHANGED
|
@@ -1,76 +1,74 @@
|
|
|
1
|
-
|
|
2
|
-
var rules = {
|
|
1
|
+
const rules = {
|
|
3
2
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/consistent-type-specifier-style.html
|
|
4
|
-
|
|
3
|
+
'import/consistent-type-specifier-style': 'off',
|
|
5
4
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/default.html
|
|
6
|
-
|
|
5
|
+
'import/default': 'off',
|
|
7
6
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/export.html
|
|
8
|
-
|
|
7
|
+
'import/export': 'off',
|
|
9
8
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/exports-last.html
|
|
10
|
-
|
|
9
|
+
'import/exports-last': 'off',
|
|
11
10
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/extensions.html
|
|
12
|
-
|
|
11
|
+
'import/extensions': 'off',
|
|
13
12
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/first.html
|
|
14
|
-
|
|
13
|
+
'import/first': 'off',
|
|
15
14
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/group-exports.html
|
|
16
|
-
|
|
15
|
+
'import/group-exports': 'off',
|
|
17
16
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/max-dependencies.html
|
|
18
|
-
|
|
17
|
+
'import/max-dependencies': 'off',
|
|
19
18
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/named.html
|
|
20
|
-
|
|
19
|
+
'import/named': 'off',
|
|
21
20
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/namespace.html
|
|
22
|
-
|
|
21
|
+
'import/namespace': 'off',
|
|
23
22
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/newline-after-import.html
|
|
24
|
-
|
|
23
|
+
'import/newline-after-import': 'off',
|
|
25
24
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-absolute-path.html
|
|
26
|
-
|
|
25
|
+
'import/no-absolute-path': 'off',
|
|
27
26
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-amd.html
|
|
28
|
-
|
|
27
|
+
'import/no-amd': 'off',
|
|
29
28
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-anonymous-default-export.html
|
|
30
|
-
|
|
29
|
+
'import/no-anonymous-default-export': 'off',
|
|
31
30
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-commonjs.html
|
|
32
|
-
|
|
31
|
+
'import/no-commonjs': 'off',
|
|
33
32
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-cycle.html
|
|
34
|
-
|
|
33
|
+
'import/no-cycle': 'off',
|
|
35
34
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-default-export.html
|
|
36
|
-
|
|
35
|
+
'import/no-default-export': 'off',
|
|
37
36
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-duplicates.html
|
|
38
|
-
|
|
37
|
+
'import/no-duplicates': 'off',
|
|
39
38
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-dynamic-require.html
|
|
40
|
-
|
|
39
|
+
'import/no-dynamic-require': 'off',
|
|
41
40
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-empty-named-blocks.html
|
|
42
|
-
|
|
41
|
+
'import/no-empty-named-blocks': 'off',
|
|
43
42
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-mutable-exports.html
|
|
44
|
-
|
|
43
|
+
'import/no-mutable-exports': 'off',
|
|
45
44
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-named-as-default.html
|
|
46
|
-
|
|
45
|
+
'import/no-named-as-default': 'off',
|
|
47
46
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-named-as-default-member.html
|
|
48
|
-
|
|
47
|
+
'import/no-named-as-default-member': 'off',
|
|
49
48
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-named-default.html
|
|
50
|
-
|
|
49
|
+
'import/no-named-default': 'off',
|
|
51
50
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-named-export.html
|
|
52
|
-
|
|
51
|
+
'import/no-named-export': 'off',
|
|
53
52
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-namespace.html
|
|
54
|
-
|
|
53
|
+
'import/no-namespace': 'off',
|
|
55
54
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-nodejs-modules.html
|
|
56
|
-
|
|
55
|
+
'import/no-nodejs-modules': 'off',
|
|
57
56
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-relative-parent-imports.html
|
|
58
|
-
|
|
57
|
+
'import/no-relative-parent-imports': 'off',
|
|
59
58
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-self-import.html
|
|
60
|
-
|
|
59
|
+
'import/no-self-import': 'off',
|
|
61
60
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-unassigned-import.html
|
|
62
|
-
|
|
61
|
+
'import/no-unassigned-import': 'off',
|
|
63
62
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/no-webpack-loader-syntax.html
|
|
64
|
-
|
|
63
|
+
'import/no-webpack-loader-syntax': 'off',
|
|
65
64
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/prefer-default-export.html
|
|
66
|
-
|
|
65
|
+
'import/prefer-default-export': 'off',
|
|
67
66
|
// https://oxc.rs/docs/guide/usage/linter/rules/import/unambiguous.html
|
|
68
|
-
|
|
67
|
+
'import/unambiguous': 'off'
|
|
69
68
|
};
|
|
70
|
-
var
|
|
71
|
-
plugins: [
|
|
69
|
+
var _import = {
|
|
70
|
+
plugins: ['import'],
|
|
72
71
|
rules
|
|
73
72
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
};
|
|
73
|
+
|
|
74
|
+
export { _import as default };
|
package/dist/index.cjs
CHANGED
|
@@ -1,42 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
19
2
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(index_exports);
|
|
26
|
-
var config = {
|
|
27
|
-
jsPlugins: ["eslint-plugin-perfectionist", "eslint-plugin-simple-import-sort", "eslint-plugin-trim"],
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const config = {
|
|
6
|
+
jsPlugins: ['eslint-plugin-perfectionist', 'eslint-plugin-simple-import-sort', 'eslint-plugin-trim'],
|
|
28
7
|
rules: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
8
|
+
'perfectionist/sort-heritage-clauses': 'warn',
|
|
9
|
+
'perfectionist/sort-interfaces': 'warn',
|
|
10
|
+
'perfectionist/sort-intersection-types': 'warn',
|
|
11
|
+
'perfectionist/sort-object-types': 'warn',
|
|
12
|
+
'perfectionist/sort-objects': 'warn',
|
|
13
|
+
'perfectionist/sort-switch-case': 'warn',
|
|
14
|
+
'perfectionist/sort-union-types': 'warn',
|
|
15
|
+
'simple-import-sort/exports': 'warn',
|
|
16
|
+
'simple-import-sort/imports': 'warn',
|
|
17
|
+
'trim/argument': 'warn',
|
|
18
|
+
'trim/class-name': 'warn'
|
|
40
19
|
}
|
|
41
20
|
};
|
|
42
|
-
|
|
21
|
+
|
|
22
|
+
exports.default = config;
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
jsPlugins: ["eslint-plugin-perfectionist", "eslint-plugin-simple-import-sort", "eslint-plugin-trim"],
|
|
1
|
+
const config = {
|
|
2
|
+
jsPlugins: ['eslint-plugin-perfectionist', 'eslint-plugin-simple-import-sort', 'eslint-plugin-trim'],
|
|
4
3
|
rules: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
'perfectionist/sort-heritage-clauses': 'warn',
|
|
5
|
+
'perfectionist/sort-interfaces': 'warn',
|
|
6
|
+
'perfectionist/sort-intersection-types': 'warn',
|
|
7
|
+
'perfectionist/sort-object-types': 'warn',
|
|
8
|
+
'perfectionist/sort-objects': 'warn',
|
|
9
|
+
'perfectionist/sort-switch-case': 'warn',
|
|
10
|
+
'perfectionist/sort-union-types': 'warn',
|
|
11
|
+
'simple-import-sort/exports': 'warn',
|
|
12
|
+
'simple-import-sort/imports': 'warn',
|
|
13
|
+
'trim/argument': 'warn',
|
|
14
|
+
'trim/class-name': 'warn'
|
|
16
15
|
}
|
|
17
16
|
};
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
index_default as default
|
|
21
|
-
};
|
|
17
|
+
|
|
18
|
+
export { config as default };
|
package/dist/jest.cjs
CHANGED
|
@@ -1,151 +1,132 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
'use strict';
|
|
19
2
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
default: () => jest_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(jest_exports);
|
|
26
|
-
var rules = {
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const rules = {
|
|
27
6
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/consistent-test-it.html
|
|
28
|
-
|
|
7
|
+
'jest/consistent-test-it': 'off',
|
|
29
8
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/expect-expect.html
|
|
30
|
-
|
|
9
|
+
'jest/expect-expect': 'off',
|
|
31
10
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/max-expects.html
|
|
32
|
-
|
|
11
|
+
'jest/max-expects': 'off',
|
|
33
12
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/max-nested-describe.html
|
|
34
|
-
|
|
13
|
+
'jest/max-nested-describe': 'off',
|
|
35
14
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-alias-methods.html
|
|
36
|
-
|
|
15
|
+
'jest/no-alias-methods': 'off',
|
|
37
16
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-commented-out-tests.html
|
|
38
|
-
|
|
17
|
+
'jest/no-commented-out-tests': 'off',
|
|
39
18
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-conditional-expect.html
|
|
40
|
-
|
|
19
|
+
'jest/no-conditional-expect': 'off',
|
|
41
20
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-conditional-in-test.html
|
|
42
|
-
|
|
21
|
+
'jest/no-conditional-in-test': 'off',
|
|
43
22
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-confusing-set-timeout.html
|
|
44
|
-
|
|
23
|
+
'jest/no-confusing-set-timeout': 'off',
|
|
45
24
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-deprecated-functions.html
|
|
46
|
-
|
|
25
|
+
'jest/no-deprecated-functions': 'off',
|
|
47
26
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-disabled-tests.html
|
|
48
|
-
|
|
27
|
+
'jest/no-disabled-tests': 'off',
|
|
49
28
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-done-callback.html
|
|
50
|
-
|
|
29
|
+
'jest/no-done-callback': 'off',
|
|
51
30
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-duplicate-hooks.html
|
|
52
|
-
|
|
31
|
+
'jest/no-duplicate-hooks': 'off',
|
|
53
32
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-export.html
|
|
54
|
-
|
|
33
|
+
'jest/no-export': 'off',
|
|
55
34
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-focused-tests.html
|
|
56
|
-
|
|
35
|
+
'jest/no-focused-tests': 'off',
|
|
57
36
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-hooks.html
|
|
58
|
-
|
|
37
|
+
'jest/no-hooks': 'off',
|
|
59
38
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-identical-title.html
|
|
60
|
-
|
|
39
|
+
'jest/no-identical-title': 'off',
|
|
61
40
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-interpolation-in-snapshots.html
|
|
62
|
-
|
|
41
|
+
'jest/no-interpolation-in-snapshots': 'off',
|
|
63
42
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-jasmine-globals.html
|
|
64
|
-
|
|
43
|
+
'jest/no-jasmine-globals': 'off',
|
|
65
44
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-large-snapshots.html
|
|
66
|
-
|
|
45
|
+
'jest/no-large-snapshots': 'off',
|
|
67
46
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-mocks-import.html
|
|
68
|
-
|
|
47
|
+
'jest/no-mocks-import': 'off',
|
|
69
48
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-restricted-jest-methods.html
|
|
70
|
-
|
|
49
|
+
'jest/no-restricted-jest-methods': 'off',
|
|
71
50
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-restricted-matchers.html
|
|
72
|
-
|
|
51
|
+
'jest/no-restricted-matchers': 'off',
|
|
73
52
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-standalone-expect.html
|
|
74
|
-
|
|
53
|
+
'jest/no-standalone-expect': 'off',
|
|
75
54
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-test-prefixes.html
|
|
76
|
-
|
|
55
|
+
'jest/no-test-prefixes': 'off',
|
|
77
56
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-test-return-statement.html
|
|
78
|
-
|
|
57
|
+
'jest/no-test-return-statement': 'off',
|
|
79
58
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-unneeded-async-expect-function.html
|
|
80
|
-
|
|
59
|
+
'jest/no-unneeded-async-expect-function': 'off',
|
|
81
60
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/no-untyped-mock-factory.html
|
|
82
|
-
|
|
61
|
+
'jest/no-untyped-mock-factory': 'off',
|
|
83
62
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/padding-around-after-all-blocks.html
|
|
84
|
-
|
|
63
|
+
'jest/padding-around-after-all-blocks': 'off',
|
|
85
64
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/padding-around-test-blocks.html
|
|
86
|
-
|
|
65
|
+
'jest/padding-around-test-blocks': 'off',
|
|
87
66
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-called-with.html
|
|
88
|
-
|
|
67
|
+
'jest/prefer-called-with': 'off',
|
|
89
68
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-comparison-matcher.html
|
|
90
|
-
|
|
69
|
+
'jest/prefer-comparison-matcher': 'off',
|
|
91
70
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-each.html
|
|
92
|
-
|
|
71
|
+
'jest/prefer-each': 'off',
|
|
93
72
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-ending-with-an-expect.html
|
|
94
|
-
|
|
73
|
+
'jest/prefer-ending-with-an-expect': 'off',
|
|
95
74
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-equality-matcher.html
|
|
96
|
-
|
|
75
|
+
'jest/prefer-equality-matcher': 'off',
|
|
97
76
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-expect-assertions.html
|
|
98
|
-
|
|
77
|
+
'jest/prefer-expect-assertions': 'off',
|
|
99
78
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-expect-resolves.html
|
|
100
|
-
|
|
79
|
+
'jest/prefer-expect-resolves': 'off',
|
|
101
80
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-in-order.html
|
|
102
|
-
|
|
81
|
+
'jest/prefer-hooks-in-order': 'off',
|
|
103
82
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.html
|
|
104
|
-
|
|
83
|
+
'jest/prefer-hooks-on-top': 'off',
|
|
105
84
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-importing-jest-globals.html
|
|
106
|
-
|
|
85
|
+
'jest/prefer-importing-jest-globals': 'off',
|
|
107
86
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-jest-mocked.html
|
|
108
|
-
|
|
87
|
+
'jest/prefer-jest-mocked': 'off',
|
|
109
88
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.html
|
|
110
|
-
|
|
89
|
+
'jest/prefer-lowercase-title': 'off',
|
|
111
90
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-mock-promise-shorthand.html
|
|
112
|
-
|
|
91
|
+
'jest/prefer-mock-promise-shorthand': 'off',
|
|
113
92
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-mock-return-shorthand.html
|
|
114
|
-
|
|
93
|
+
'jest/prefer-mock-return-shorthand': 'off',
|
|
115
94
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-snapshot-hint.html
|
|
116
|
-
|
|
95
|
+
'jest/prefer-snapshot-hint': 'off',
|
|
117
96
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-spy-on.html
|
|
118
|
-
|
|
97
|
+
'jest/prefer-spy-on': 'off',
|
|
119
98
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-strict-equal.html
|
|
120
|
-
|
|
99
|
+
'jest/prefer-strict-equal': 'off',
|
|
121
100
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-be.html
|
|
122
|
-
|
|
101
|
+
'jest/prefer-to-be': 'off',
|
|
123
102
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-contain.html
|
|
124
|
-
|
|
103
|
+
'jest/prefer-to-contain': 'off',
|
|
125
104
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-been-called.html
|
|
126
|
-
|
|
105
|
+
'jest/prefer-to-have-been-called': 'off',
|
|
127
106
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-been-called-times.html
|
|
128
|
-
|
|
107
|
+
'jest/prefer-to-have-been-called-times': 'off',
|
|
129
108
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-to-have-length.html
|
|
130
|
-
|
|
109
|
+
'jest/prefer-to-have-length': 'off',
|
|
131
110
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-todo.html
|
|
132
|
-
|
|
111
|
+
'jest/prefer-todo': 'off',
|
|
133
112
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-hook.html
|
|
134
|
-
|
|
113
|
+
'jest/require-hook': 'off',
|
|
135
114
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-to-throw-message.html
|
|
136
|
-
|
|
115
|
+
'jest/require-to-throw-message': 'off',
|
|
137
116
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/require-top-level-describe.html
|
|
138
|
-
|
|
117
|
+
'jest/require-top-level-describe': 'off',
|
|
139
118
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-describe-callback.html
|
|
140
|
-
|
|
119
|
+
'jest/valid-describe-callback': 'off',
|
|
141
120
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect.html
|
|
142
|
-
|
|
121
|
+
'jest/valid-expect': 'off',
|
|
143
122
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect-in-promise.html
|
|
144
|
-
|
|
123
|
+
'jest/valid-expect-in-promise': 'off',
|
|
145
124
|
// https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-title.html
|
|
146
|
-
|
|
125
|
+
'jest/valid-title': 'off'
|
|
147
126
|
};
|
|
148
|
-
var
|
|
149
|
-
plugins: [
|
|
127
|
+
var jest = {
|
|
128
|
+
plugins: ['jest'],
|
|
150
129
|
rules
|
|
151
130
|
};
|
|
131
|
+
|
|
132
|
+
exports.default = jest;
|