@standard-config/oxlint 1.9.0 → 2.0.0
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/README.md +112 -18
- package/dist/index.d.mts +57 -19
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +201 -167
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -12
package/README.md
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://github.com/standard-config/oxlint">
|
|
3
|
+
<img
|
|
4
|
+
src="https://github.com/standard-config/.github/blob/main/.github/assets/standard-config-oxlint@3x.png?raw=true"
|
|
5
|
+
width="500"
|
|
6
|
+
alt=""
|
|
7
|
+
/>
|
|
8
|
+
</a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<h1 align="center">@standard‑config/oxlint</h1>
|
|
12
|
+
|
|
13
|
+
<p align="center">Curated Oxlint config with sensible defaults.</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://npmx.dev/package/@standard-config/oxlint"
|
|
17
|
+
><img
|
|
18
|
+
src="https://img.shields.io/npm/v/%40standard-config%2Foxlint?style=flat-square"
|
|
19
|
+
alt=""
|
|
20
|
+
/></a>
|
|
21
|
+
<a href="https://github.com/standard-config/oxlint/actions/workflows/test.yaml"
|
|
22
|
+
><img
|
|
23
|
+
src="https://img.shields.io/github/actions/workflow/status/standard-config/oxlint/test.yaml?style=flat-square"
|
|
24
|
+
alt=""
|
|
25
|
+
/></a>
|
|
26
|
+
<a href="https://codecov.io/github/standard-config/oxlint"
|
|
27
|
+
><img
|
|
28
|
+
src="https://img.shields.io/codecov/c/github/standard-config/oxlint?style=flat-square"
|
|
29
|
+
alt=""
|
|
30
|
+
/></a>
|
|
31
|
+
</p>
|
|
32
|
+
|
|
33
|
+
<div> </div>
|
|
34
|
+
|
|
35
|
+
## Overview
|
|
36
|
+
|
|
37
|
+
Curated Oxlint config with sensible defaults. Designed as a careful, environment-agnostic baseline for writing better TypeScript. Comes with [supplemental configs](#supplemental-configs) that extend the core ruleset.
|
|
38
|
+
|
|
39
|
+
If you’re migrating from [**xo**](https://github.com/xojs/xo), you’ll feel right at home.
|
|
10
40
|
|
|
11
41
|
## Install
|
|
12
42
|
|
|
@@ -18,7 +48,7 @@ npm install --save-dev @standard-config/oxlint
|
|
|
18
48
|
pnpm add --save-dev @standard-config/oxlint
|
|
19
49
|
```
|
|
20
50
|
|
|
21
|
-
For [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html), make sure
|
|
51
|
+
For [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html), make sure `oxlint` and `oxlint-tsgolint` are both installed.
|
|
22
52
|
|
|
23
53
|
## Usage
|
|
24
54
|
|
|
@@ -44,20 +74,86 @@ export default defineConfig({
|
|
|
44
74
|
});
|
|
45
75
|
```
|
|
46
76
|
|
|
47
|
-
###
|
|
77
|
+
### Supplemental Configs
|
|
78
|
+
|
|
79
|
+
While **@standard-config/oxlint** relies only on Oxlint’s core rules, the supplemental config packages extend the baseline rule coverage with additional plugins, including [JS plugins](https://oxc.rs/docs/guide/usage/linter/js-plugins.html).
|
|
80
|
+
|
|
81
|
+
<table>
|
|
82
|
+
<thead>
|
|
83
|
+
<tr>
|
|
84
|
+
<th
|
|
85
|
+
align="left"
|
|
86
|
+
width="450"
|
|
87
|
+
>
|
|
88
|
+
Package
|
|
89
|
+
</th>
|
|
90
|
+
<th
|
|
91
|
+
align="left"
|
|
92
|
+
width="300"
|
|
93
|
+
>
|
|
94
|
+
Core Plugins
|
|
95
|
+
</th>
|
|
96
|
+
<th
|
|
97
|
+
align="left"
|
|
98
|
+
width="300"
|
|
99
|
+
>
|
|
100
|
+
JS Plugins
|
|
101
|
+
</th>
|
|
102
|
+
</tr>
|
|
103
|
+
</thead>
|
|
104
|
+
<tbody>
|
|
105
|
+
<tr>
|
|
106
|
+
<th align="left">
|
|
107
|
+
<a href="https://github.com/standard-config/oxlint/tree/main/packages/oxlint-react">@standard‑config/oxlint‑react</a>
|
|
108
|
+
</th>
|
|
109
|
+
<td>
|
|
110
|
+
<code>react</code>
|
|
111
|
+
<br />
|
|
112
|
+
<code>react‑perf</code>
|
|
113
|
+
<br />
|
|
114
|
+
<code>jsx‑a11y</code>
|
|
115
|
+
</td>
|
|
116
|
+
<td>
|
|
117
|
+
<a href="https://eslint-react.xyz"><code>react‑x</code></a>
|
|
118
|
+
</td>
|
|
119
|
+
</tr>
|
|
120
|
+
<tr>
|
|
121
|
+
<th align="left">
|
|
122
|
+
<a href="https://github.com/standard-config/oxlint/tree/main/packages/oxlint-stylistic">@standard‑config/oxlint‑stylistic</a>
|
|
123
|
+
</th>
|
|
124
|
+
<td>—</td>
|
|
125
|
+
<td>
|
|
126
|
+
<a href="https://eslint.style"><code>stylistic</code></a>
|
|
127
|
+
<br />
|
|
128
|
+
<a href="https://perfectionist.dev"><code>perfectionist</code></a>
|
|
129
|
+
</td>
|
|
130
|
+
</tr>
|
|
131
|
+
</tbody>
|
|
132
|
+
</table>
|
|
133
|
+
|
|
134
|
+
## FAQ
|
|
135
|
+
|
|
136
|
+
### Does this config require any specific TypeScript configuration?
|
|
48
137
|
|
|
49
|
-
|
|
138
|
+
No, it works with any `tsconfig.json`. For matching compiler defaults, pair it with [**@standard-config/tsconfig**](https://github.com/standard-config/tsconfig), though it is not required.
|
|
139
|
+
|
|
140
|
+
### Does this config enable any rule categories?
|
|
141
|
+
|
|
142
|
+
No. The config explicitly defines every enabled and disabled rule for each core plugin used. Any [`categories`](https://oxc.rs/docs/guide/usage/linter/config-file-reference.html#categories) you set will only apply to the plugins you enable.
|
|
50
143
|
|
|
51
144
|
```ts
|
|
52
145
|
import { defineConfig } from '@standard-config/oxlint';
|
|
53
146
|
|
|
54
147
|
export default defineConfig({
|
|
55
|
-
|
|
148
|
+
plugins: ['nextjs'],
|
|
149
|
+
categories: {
|
|
150
|
+
// Only applies to `next/*` rules
|
|
151
|
+
correctness: 'error',
|
|
152
|
+
suspicious: 'warn',
|
|
153
|
+
},
|
|
56
154
|
});
|
|
57
155
|
```
|
|
58
156
|
|
|
59
|
-
## FAQ
|
|
60
|
-
|
|
61
157
|
### Can I use this config with Vite+?
|
|
62
158
|
|
|
63
159
|
Absolutely. In your `vite.config.ts`:
|
|
@@ -68,9 +164,8 @@ import { defineConfig } from 'vite-plus';
|
|
|
68
164
|
|
|
69
165
|
export default defineConfig({
|
|
70
166
|
lint: defineOxlintConfig({
|
|
71
|
-
react: true,
|
|
72
167
|
rules: {
|
|
73
|
-
|
|
168
|
+
// Optional overrides
|
|
74
169
|
},
|
|
75
170
|
}),
|
|
76
171
|
});
|
|
@@ -78,7 +173,6 @@ export default defineConfig({
|
|
|
78
173
|
|
|
79
174
|
## Related
|
|
80
175
|
|
|
81
|
-
- [**@standard-config/eslint**](https://github.com/standard-config/eslint)
|
|
82
176
|
- [**@standard-config/prettier**](https://github.com/standard-config/prettier)
|
|
83
177
|
- [**@standard-config/tsconfig**](https://github.com/standard-config/tsconfig)
|
|
84
178
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,39 +1,77 @@
|
|
|
1
|
-
import { OxlintConfig, OxlintOverride } from "oxlint";
|
|
1
|
+
import { ExternalPluginEntry, OxlintConfig, OxlintOverride } from "oxlint";
|
|
2
2
|
|
|
3
3
|
//#region ../utilities/src/types/index.d.ts
|
|
4
|
-
type
|
|
5
|
-
type
|
|
6
|
-
type
|
|
7
|
-
|
|
8
|
-
* Enable React-specific rules.
|
|
9
|
-
* @default false
|
|
10
|
-
*/
|
|
11
|
-
react?: boolean;
|
|
12
|
-
};
|
|
4
|
+
type OxlintConfigBaseEntry = Omit<OxlintConfig, 'categories' | 'files' | 'ignorePatterns' | 'overrides'>;
|
|
5
|
+
type OxlintConfigCoreBaseEntry = Omit<OxlintConfigBaseEntry, 'jsPlugins'>;
|
|
6
|
+
type OxlintConfigOverrideEntry = Omit<OxlintOverride, 'categories' | 'files' | 'jsPlugins' | 'plugins'>;
|
|
7
|
+
type OxlintConfigPluginEntry = Exclude<ExternalPluginEntry, string>;
|
|
13
8
|
//#endregion
|
|
14
9
|
//#region src/config-base/index.d.ts
|
|
15
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Base config entry containing core rules. No overrides included.
|
|
12
|
+
*/
|
|
13
|
+
declare const config: OxlintConfigCoreBaseEntry;
|
|
16
14
|
//#endregion
|
|
17
15
|
//#region src/config-config-files/index.d.ts
|
|
18
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Optional config entry containing core rules that target config files.
|
|
18
|
+
* Intended for explicit overrides.
|
|
19
|
+
*/
|
|
20
|
+
declare const config$1: OxlintConfigOverrideEntry;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/config-default/index.d.ts
|
|
23
|
+
/**
|
|
24
|
+
* Resolved Standard Config core entry.
|
|
25
|
+
*/
|
|
26
|
+
declare const config$4: OxlintConfig;
|
|
19
27
|
//#endregion
|
|
20
28
|
//#region src/config-test-files/index.d.ts
|
|
21
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Optional config entry containing core rules that target test files. Intended
|
|
31
|
+
* for explicit overrides.
|
|
32
|
+
*/
|
|
33
|
+
declare const config$2: OxlintConfigOverrideEntry;
|
|
22
34
|
//#endregion
|
|
23
35
|
//#region src/config-type-definitions/index.d.ts
|
|
24
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Optional config entry containing core rules that target type definition
|
|
38
|
+
* files. Intended for explicit overrides.
|
|
39
|
+
*/
|
|
40
|
+
declare const config$3: OxlintConfigOverrideEntry;
|
|
25
41
|
//#endregion
|
|
26
42
|
//#region src/define-config/index.d.ts
|
|
27
|
-
declare function defineConfig(...configs:
|
|
43
|
+
declare function defineConfig(...configs: OxlintConfig[]): OxlintConfig;
|
|
28
44
|
//#endregion
|
|
29
45
|
//#region src/define-oxlint-config/index.d.ts
|
|
30
46
|
/**
|
|
31
47
|
* Alias for `defineConfig`.
|
|
32
48
|
*/
|
|
33
|
-
declare function defineOxlintConfig(...configs:
|
|
49
|
+
declare function defineOxlintConfig(...configs: OxlintConfig[]): OxlintConfig;
|
|
34
50
|
//#endregion
|
|
35
|
-
//#region ../
|
|
36
|
-
|
|
51
|
+
//#region ../utilities/src/resolve-plugin/index.d.ts
|
|
52
|
+
/**
|
|
53
|
+
* Resolve an external plugin specifier to a file path.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
*
|
|
57
|
+
* ```ts
|
|
58
|
+
* import { resolvePlugin } from '@standard-config/oxlint';
|
|
59
|
+
* import { defineConfig } from 'oxlint';
|
|
60
|
+
*
|
|
61
|
+
* const config = defineConfig({
|
|
62
|
+
* jsPlugins: [
|
|
63
|
+
* resolvePlugin(
|
|
64
|
+
* 'react-x',
|
|
65
|
+
* '@eslint-react/eslint-plugin',
|
|
66
|
+
* ),
|
|
67
|
+
* ],
|
|
68
|
+
* rules: {
|
|
69
|
+
* 'react-x/refs': 'error',
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
declare function resolvePlugin(name: string, specifier: string): OxlintConfigPluginEntry;
|
|
37
75
|
//#endregion
|
|
38
|
-
export { config as
|
|
76
|
+
export { config as configCoreBase, config$1 as configCoreConfigFiles, config$2 as configCoreTestFiles, config$3 as configCoreTypeDefinitions, config$4 as default, defineConfig, defineOxlintConfig, resolvePlugin };
|
|
39
77
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":["OxlintConfig","OxlintOverride","
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["ExternalPluginEntry","OxlintConfig","OxlintOverride","OxlintConfigBaseEntry","Omit","OxlintConfigCoreBaseEntry","OxlintConfigOverrideEntry","OxlintConfigGlobSet","OxlintConfigPluginEntry","Exclude"],"sources":["../../utilities/src/types/index.d.ts","../src/config-base/index.ts","../src/config-config-files/index.ts","../src/config-default/index.ts","../src/config-test-files/index.ts","../src/config-type-definitions/index.ts","../src/define-config/index.ts","../src/define-oxlint-config/index.ts","../../utilities/src/resolve-plugin/index.ts"],"mappings":";;;KAEYG,qBAAAA,GAAwBC,IAAI,CACvCH,YAAAA;AAAAA,KAIWI,yBAAAA,GAA4BD,IAAI,CAC3CD,qBAAAA;AAAAA,KAIWG,yBAAAA,GAA4BF,IAAI,CAC3CF,cAAAA;AAAAA,KAMWM,uBAAAA,GAA0BC,OAAO,CAACT,mBAAAA;;;;;AAjB9C;cCGM,MAAA,EAAQ,yBA4vBb;;;;;AD/vBD;;cEIM,QAAA,EAAQ,yBAQb;;;;;AFZD;cGaM,QAAA,EAAQ,YAeZ;;;;;AH5BF;;cIIM,QAAA,EAAQ,yBAsIb;;;;;AJ1ID;;cKIM,QAAA,EAAQ,yBAWb;;;iBCQuB,YAAA,CAAA,GAAgB,OAAA,EAAS,YAAA,KAAiB,YAAY;;;;;ANvB9E;iBOIwB,kBAAA,CAAA,GACpB,OAAA,EAAS,YAAA,KACV,YAAY;;;;;APNf;;;;AACa;AAIb;;;;AACsB;AAItB;;;;AACe;AAMf;;;;AAAiE;iBQMzC,aAAA,CACvB,IAAA,UACA,SAAA,WACE,uBAAuB"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { defineConfig as defineConfig$1 } from "oxlint";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
2
3
|
//#region src/config-base/index.ts
|
|
4
|
+
/**
|
|
5
|
+
* Base config entry containing core rules. No overrides included.
|
|
6
|
+
*/
|
|
3
7
|
const config = {
|
|
4
8
|
plugins: [
|
|
5
9
|
"eslint",
|
|
@@ -36,16 +40,24 @@ const config = {
|
|
|
36
40
|
"eslint/default-param-last": "error",
|
|
37
41
|
"eslint/eqeqeq": "error",
|
|
38
42
|
"eslint/for-direction": "error",
|
|
43
|
+
"eslint/func-name-matching": [
|
|
44
|
+
"error",
|
|
45
|
+
"never",
|
|
46
|
+
{ considerPropertyDescriptor: true }
|
|
47
|
+
],
|
|
39
48
|
"eslint/func-names": "off",
|
|
40
49
|
"eslint/func-style": [
|
|
41
50
|
"error",
|
|
42
51
|
"declaration",
|
|
43
52
|
{ allowArrowFunctions: true }
|
|
44
53
|
],
|
|
54
|
+
"eslint/getter-return": "error",
|
|
45
55
|
"eslint/grouped-accessor-pairs": ["error", "getBeforeSet"],
|
|
46
56
|
"eslint/guard-for-in": "error",
|
|
47
57
|
"eslint/id-length": "off",
|
|
58
|
+
"eslint/id-match": "off",
|
|
48
59
|
"eslint/init-declarations": "off",
|
|
60
|
+
"eslint/logical-assignment-operators": "off",
|
|
49
61
|
"eslint/max-classes-per-file": "off",
|
|
50
62
|
"eslint/max-depth": "off",
|
|
51
63
|
"eslint/max-lines": "off",
|
|
@@ -96,6 +108,8 @@ const config = {
|
|
|
96
108
|
"eslint/no-func-assign": "off",
|
|
97
109
|
"eslint/no-global-assign": "error",
|
|
98
110
|
"eslint/no-implicit-coercion": "error",
|
|
111
|
+
"eslint/no-implicit-globals": "error",
|
|
112
|
+
"eslint/no-implied-eval": "error",
|
|
99
113
|
"eslint/no-import-assign": "off",
|
|
100
114
|
"eslint/no-inline-comments": "off",
|
|
101
115
|
"eslint/no-inner-declarations": "off",
|
|
@@ -128,8 +142,10 @@ const config = {
|
|
|
128
142
|
"eslint/no-prototype-builtins": "off",
|
|
129
143
|
"eslint/no-redeclare": "off",
|
|
130
144
|
"eslint/no-regex-spaces": "error",
|
|
145
|
+
"eslint/no-restricted-exports": "off",
|
|
131
146
|
"eslint/no-restricted-globals": "off",
|
|
132
147
|
"eslint/no-restricted-imports": "off",
|
|
148
|
+
"eslint/no-restricted-properties": "off",
|
|
133
149
|
"eslint/no-return-assign": ["error", "always"],
|
|
134
150
|
"eslint/no-script-url": "off",
|
|
135
151
|
"eslint/no-self-assign": ["error", { props: true }],
|
|
@@ -146,10 +162,11 @@ const config = {
|
|
|
146
162
|
"eslint/no-unassigned-vars": "error",
|
|
147
163
|
"eslint/no-undef": "off",
|
|
148
164
|
"eslint/no-undefined": "off",
|
|
165
|
+
"eslint/no-underscore-dangle": "off",
|
|
149
166
|
"eslint/no-unexpected-multiline": "off",
|
|
150
167
|
"eslint/no-unmodified-loop-condition": "error",
|
|
151
168
|
"eslint/no-unneeded-ternary": "warn",
|
|
152
|
-
"eslint/no-unreachable": "
|
|
169
|
+
"eslint/no-unreachable": "off",
|
|
153
170
|
"eslint/no-unsafe-finally": "error",
|
|
154
171
|
"eslint/no-unsafe-negation": "off",
|
|
155
172
|
"eslint/no-unsafe-optional-chaining": ["error", { disallowArithmeticOperators: true }],
|
|
@@ -163,6 +180,7 @@ const config = {
|
|
|
163
180
|
varsIgnorePattern: "^_"
|
|
164
181
|
}],
|
|
165
182
|
"eslint/no-use-before-define": "off",
|
|
183
|
+
"eslint/no-useless-assignment": "warn",
|
|
166
184
|
"eslint/no-useless-backreference": "error",
|
|
167
185
|
"eslint/no-useless-call": "error",
|
|
168
186
|
"eslint/no-useless-catch": "error",
|
|
@@ -178,19 +196,23 @@ const config = {
|
|
|
178
196
|
"eslint/no-with": "error",
|
|
179
197
|
"eslint/object-shorthand": ["error", "always"],
|
|
180
198
|
"eslint/operator-assignment": ["warn", "always"],
|
|
199
|
+
"eslint/prefer-arrow-callback": ["error", { allowNamedFunctions: true }],
|
|
181
200
|
"eslint/prefer-const": "error",
|
|
182
201
|
"eslint/prefer-destructuring": ["error", { enforceForRenamedProperties: false }],
|
|
183
202
|
"eslint/prefer-exponentiation-operator": "warn",
|
|
203
|
+
"eslint/prefer-named-capture-group": "off",
|
|
184
204
|
"eslint/prefer-numeric-literals": "off",
|
|
185
205
|
"eslint/prefer-object-has-own": "error",
|
|
186
206
|
"eslint/prefer-object-spread": "error",
|
|
187
207
|
"eslint/prefer-promise-reject-errors": "off",
|
|
208
|
+
"eslint/prefer-regex-literals": "warn",
|
|
188
209
|
"eslint/prefer-rest-params": "error",
|
|
189
210
|
"eslint/prefer-spread": "warn",
|
|
190
211
|
"eslint/prefer-template": "error",
|
|
191
212
|
"eslint/preserve-caught-error": "error",
|
|
192
213
|
"eslint/radix": "error",
|
|
193
214
|
"eslint/require-await": "off",
|
|
215
|
+
"eslint/require-unicode-regexp": "off",
|
|
194
216
|
"eslint/require-yield": "error",
|
|
195
217
|
"eslint/sort-imports": "off",
|
|
196
218
|
"eslint/sort-keys": "off",
|
|
@@ -213,6 +235,7 @@ const config = {
|
|
|
213
235
|
"import/group-exports": "off",
|
|
214
236
|
"import/max-dependencies": "off",
|
|
215
237
|
"import/namespace": "error",
|
|
238
|
+
"import/newline-after-import": "error",
|
|
216
239
|
"import/no-absolute-path": "error",
|
|
217
240
|
"import/no-amd": "off",
|
|
218
241
|
"import/no-anonymous-default-export": "error",
|
|
@@ -270,6 +293,7 @@ const config = {
|
|
|
270
293
|
"jest/prefer-each": "off",
|
|
271
294
|
"jest/prefer-ending-with-an-expect": "off",
|
|
272
295
|
"jest/prefer-equality-matcher": "off",
|
|
296
|
+
"jest/prefer-expect-assertions": "off",
|
|
273
297
|
"jest/prefer-expect-resolves": "off",
|
|
274
298
|
"jest/prefer-hooks-in-order": "off",
|
|
275
299
|
"jest/prefer-hooks-on-top": "off",
|
|
@@ -294,6 +318,7 @@ const config = {
|
|
|
294
318
|
"jest/valid-expect": "off",
|
|
295
319
|
"jest/valid-expect-in-promise": "off",
|
|
296
320
|
"jest/valid-title": "off",
|
|
321
|
+
"node/callback-return": "off",
|
|
297
322
|
"node/global-require": "off",
|
|
298
323
|
"node/handle-callback-err": ["error", "error"],
|
|
299
324
|
"node/no-exports-assign": "off",
|
|
@@ -369,7 +394,9 @@ const config = {
|
|
|
369
394
|
}],
|
|
370
395
|
"typescript/dot-notation": "warn",
|
|
371
396
|
"typescript/explicit-function-return-type": "off",
|
|
397
|
+
"typescript/explicit-member-accessibility": ["error", { accessibility: "no-public" }],
|
|
372
398
|
"typescript/explicit-module-boundary-types": ["error", { allowArgumentsExplicitlyTypedAsAny: true }],
|
|
399
|
+
"typescript/method-signature-style": ["error", "property"],
|
|
373
400
|
"typescript/no-array-delete": "off",
|
|
374
401
|
"typescript/no-base-to-string": "error",
|
|
375
402
|
"typescript/no-confusing-non-null-assertion": "error",
|
|
@@ -483,6 +510,7 @@ const config = {
|
|
|
483
510
|
"unicorn/escape-case": "error",
|
|
484
511
|
"unicorn/explicit-length-check": "error",
|
|
485
512
|
"unicorn/filename-case": "off",
|
|
513
|
+
"unicorn/import-style": "off",
|
|
486
514
|
"unicorn/new-for-builtins": "error",
|
|
487
515
|
"unicorn/no-abusive-eslint-disable": "error",
|
|
488
516
|
"unicorn/no-accessor-recursion": "error",
|
|
@@ -507,6 +535,7 @@ const config = {
|
|
|
507
535
|
"unicorn/no-length-as-slice-end": "error",
|
|
508
536
|
"unicorn/no-lonely-if": "warn",
|
|
509
537
|
"unicorn/no-magic-array-flat-depth": "error",
|
|
538
|
+
"unicorn/no-negated-condition": "off",
|
|
510
539
|
"unicorn/no-negation-in-equality-check": "error",
|
|
511
540
|
"unicorn/no-nested-ternary": "error",
|
|
512
541
|
"unicorn/no-new-array": "error",
|
|
@@ -603,31 +632,84 @@ const config = {
|
|
|
603
632
|
"unicorn/throw-new-error": "error",
|
|
604
633
|
"vitest/consistent-each-for": "off",
|
|
605
634
|
"vitest/consistent-test-filename": "off",
|
|
635
|
+
"vitest/consistent-test-it": "off",
|
|
606
636
|
"vitest/consistent-vitest-vi": "off",
|
|
637
|
+
"vitest/expect-expect": "off",
|
|
607
638
|
"vitest/hoisted-apis-on-top": "off",
|
|
639
|
+
"vitest/max-expects": "off",
|
|
640
|
+
"vitest/max-nested-describe": "off",
|
|
641
|
+
"vitest/no-alias-methods": "off",
|
|
642
|
+
"vitest/no-commented-out-tests": "off",
|
|
643
|
+
"vitest/no-conditional-expect": "off",
|
|
644
|
+
"vitest/no-conditional-in-test": "off",
|
|
608
645
|
"vitest/no-conditional-tests": "off",
|
|
646
|
+
"vitest/no-disabled-tests": "off",
|
|
647
|
+
"vitest/no-duplicate-hooks": "off",
|
|
648
|
+
"vitest/no-focused-tests": "off",
|
|
649
|
+
"vitest/no-hooks": "off",
|
|
650
|
+
"vitest/no-identical-title": "off",
|
|
609
651
|
"vitest/no-import-node-test": "off",
|
|
610
652
|
"vitest/no-importing-vitest-globals": "off",
|
|
653
|
+
"vitest/no-interpolation-in-snapshots": "off",
|
|
654
|
+
"vitest/no-large-snapshots": "off",
|
|
655
|
+
"vitest/no-mocks-import": "off",
|
|
656
|
+
"vitest/no-restricted-matchers": "off",
|
|
657
|
+
"vitest/no-restricted-vi-methods": "off",
|
|
658
|
+
"vitest/no-standalone-expect": "off",
|
|
659
|
+
"vitest/no-test-prefixes": "off",
|
|
660
|
+
"vitest/no-test-return-statement": "off",
|
|
661
|
+
"vitest/no-unneeded-async-expect-function": "off",
|
|
662
|
+
"vitest/padding-around-after-all-blocks": "off",
|
|
611
663
|
"vitest/prefer-called-exactly-once-with": "off",
|
|
612
664
|
"vitest/prefer-called-once": "off",
|
|
613
665
|
"vitest/prefer-called-times": "off",
|
|
666
|
+
"vitest/prefer-called-with": "off",
|
|
667
|
+
"vitest/prefer-comparison-matcher": "off",
|
|
614
668
|
"vitest/prefer-describe-function-title": "off",
|
|
669
|
+
"vitest/prefer-each": "off",
|
|
670
|
+
"vitest/prefer-equality-matcher": "off",
|
|
671
|
+
"vitest/prefer-expect-assertions": "off",
|
|
672
|
+
"vitest/prefer-expect-resolves": "off",
|
|
615
673
|
"vitest/prefer-expect-type-of": "off",
|
|
674
|
+
"vitest/prefer-hooks-in-order": "off",
|
|
675
|
+
"vitest/prefer-hooks-on-top": "off",
|
|
616
676
|
"vitest/prefer-import-in-mock": "off",
|
|
617
677
|
"vitest/prefer-importing-vitest-globals": "off",
|
|
678
|
+
"vitest/prefer-lowercase-title": "off",
|
|
679
|
+
"vitest/prefer-mock-promise-shorthand": "off",
|
|
680
|
+
"vitest/prefer-mock-return-shorthand": "off",
|
|
681
|
+
"vitest/prefer-snapshot-hint": "off",
|
|
682
|
+
"vitest/prefer-spy-on": "off",
|
|
618
683
|
"vitest/prefer-strict-boolean-matchers": "off",
|
|
684
|
+
"vitest/prefer-strict-equal": "off",
|
|
685
|
+
"vitest/prefer-to-be": "off",
|
|
619
686
|
"vitest/prefer-to-be-falsy": "off",
|
|
620
687
|
"vitest/prefer-to-be-object": "off",
|
|
621
688
|
"vitest/prefer-to-be-truthy": "off",
|
|
689
|
+
"vitest/prefer-to-contain": "off",
|
|
690
|
+
"vitest/prefer-to-have-been-called-times": "off",
|
|
691
|
+
"vitest/prefer-to-have-length": "off",
|
|
692
|
+
"vitest/prefer-todo": "off",
|
|
622
693
|
"vitest/require-awaited-expect-poll": "off",
|
|
694
|
+
"vitest/require-hook": "off",
|
|
623
695
|
"vitest/require-local-test-context-for-concurrent-snapshots": "off",
|
|
624
696
|
"vitest/require-mock-type-parameters": "off",
|
|
625
697
|
"vitest/require-test-timeout": "off",
|
|
698
|
+
"vitest/require-to-throw-message": "off",
|
|
699
|
+
"vitest/require-top-level-describe": "off",
|
|
700
|
+
"vitest/valid-describe-callback": "off",
|
|
701
|
+
"vitest/valid-expect": "off",
|
|
702
|
+
"vitest/valid-expect-in-promise": "off",
|
|
703
|
+
"vitest/valid-title": "off",
|
|
626
704
|
"vitest/warn-todo": "off"
|
|
627
705
|
}
|
|
628
706
|
};
|
|
629
707
|
//#endregion
|
|
630
708
|
//#region src/config-config-files/index.ts
|
|
709
|
+
/**
|
|
710
|
+
* Optional config entry containing core rules that target config files.
|
|
711
|
+
* Intended for explicit overrides.
|
|
712
|
+
*/
|
|
631
713
|
const config$1 = { rules: {
|
|
632
714
|
"import/no-anonymous-default-export": ["error", { allowObject: true }],
|
|
633
715
|
"import/no-unassigned-import": "off",
|
|
@@ -636,144 +718,10 @@ const config$1 = { rules: {
|
|
|
636
718
|
"unicorn/no-empty-file": "off"
|
|
637
719
|
} };
|
|
638
720
|
//#endregion
|
|
639
|
-
//#region ../
|
|
640
|
-
const
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
"react",
|
|
644
|
-
"react-perf"
|
|
645
|
-
],
|
|
646
|
-
rules: {
|
|
647
|
-
"jsx-a11y/alt-text": "error",
|
|
648
|
-
"jsx-a11y/anchor-ambiguous-text": "error",
|
|
649
|
-
"jsx-a11y/anchor-has-content": "error",
|
|
650
|
-
"jsx-a11y/anchor-is-valid": "error",
|
|
651
|
-
"jsx-a11y/aria-activedescendant-has-tabindex": "error",
|
|
652
|
-
"jsx-a11y/aria-props": "error",
|
|
653
|
-
"jsx-a11y/aria-proptypes": "error",
|
|
654
|
-
"jsx-a11y/aria-role": "error",
|
|
655
|
-
"jsx-a11y/aria-unsupported-elements": "error",
|
|
656
|
-
"jsx-a11y/autocomplete-valid": "error",
|
|
657
|
-
"jsx-a11y/click-events-have-key-events": "warn",
|
|
658
|
-
"jsx-a11y/heading-has-content": "error",
|
|
659
|
-
"jsx-a11y/html-has-lang": "error",
|
|
660
|
-
"jsx-a11y/iframe-has-title": "error",
|
|
661
|
-
"jsx-a11y/img-redundant-alt": "off",
|
|
662
|
-
"jsx-a11y/label-has-associated-control": "error",
|
|
663
|
-
"jsx-a11y/lang": "error",
|
|
664
|
-
"jsx-a11y/media-has-caption": "off",
|
|
665
|
-
"jsx-a11y/mouse-events-have-key-events": "warn",
|
|
666
|
-
"jsx-a11y/no-access-key": "error",
|
|
667
|
-
"jsx-a11y/no-aria-hidden-on-focusable": "error",
|
|
668
|
-
"jsx-a11y/no-autofocus": "error",
|
|
669
|
-
"jsx-a11y/no-distracting-elements": "error",
|
|
670
|
-
"jsx-a11y/no-noninteractive-tabindex": "error",
|
|
671
|
-
"jsx-a11y/no-redundant-roles": "error",
|
|
672
|
-
"jsx-a11y/no-static-element-interactions": "error",
|
|
673
|
-
"jsx-a11y/prefer-tag-over-role": "error",
|
|
674
|
-
"jsx-a11y/role-has-required-aria-props": "error",
|
|
675
|
-
"jsx-a11y/role-supports-aria-props": "error",
|
|
676
|
-
"jsx-a11y/scope": "error",
|
|
677
|
-
"jsx-a11y/tabindex-no-positive": "error",
|
|
678
|
-
"react-perf/jsx-no-jsx-as-prop": "off",
|
|
679
|
-
"react-perf/jsx-no-new-array-as-prop": "error",
|
|
680
|
-
"react-perf/jsx-no-new-function-as-prop": "off",
|
|
681
|
-
"react-perf/jsx-no-new-object-as-prop": "off",
|
|
682
|
-
"react/button-has-type": "error",
|
|
683
|
-
"react/checked-requires-onchange-or-readonly": "error",
|
|
684
|
-
"react/display-name": "off",
|
|
685
|
-
"react/exhaustive-deps": "error",
|
|
686
|
-
"react/forbid-dom-props": "off",
|
|
687
|
-
"react/forbid-elements": "off",
|
|
688
|
-
"react/forward-ref-uses-ref": "off",
|
|
689
|
-
"react/hook-use-state": "error",
|
|
690
|
-
"react/iframe-missing-sandbox": "off",
|
|
691
|
-
"react/jsx-boolean-value": "error",
|
|
692
|
-
"react/jsx-curly-brace-presence": ["error", {
|
|
693
|
-
children: "never",
|
|
694
|
-
propElementValues: "always",
|
|
695
|
-
props: "never"
|
|
696
|
-
}],
|
|
697
|
-
"react/jsx-filename-extension": ["error", { extensions: [".tsx"] }],
|
|
698
|
-
"react/jsx-fragments": "error",
|
|
699
|
-
"react/jsx-handler-names": "error",
|
|
700
|
-
"react/jsx-key": "error",
|
|
701
|
-
"react/jsx-max-depth": "off",
|
|
702
|
-
"react/jsx-no-comment-textnodes": "error",
|
|
703
|
-
"react/jsx-no-constructed-context-values": "error",
|
|
704
|
-
"react/jsx-no-duplicate-props": "error",
|
|
705
|
-
"react/jsx-no-script-url": "error",
|
|
706
|
-
"react/jsx-no-target-blank": ["error", { warnOnSpreadAttributes: true }],
|
|
707
|
-
"react/jsx-no-undef": "error",
|
|
708
|
-
"react/jsx-no-useless-fragment": "error",
|
|
709
|
-
"react/jsx-pascal-case": "error",
|
|
710
|
-
"react/jsx-props-no-spread-multi": "error",
|
|
711
|
-
"react/jsx-props-no-spreading": "off",
|
|
712
|
-
"react/no-array-index-key": "error",
|
|
713
|
-
"react/no-children-prop": "error",
|
|
714
|
-
"react/no-clone-element": "off",
|
|
715
|
-
"react/no-danger": "error",
|
|
716
|
-
"react/no-danger-with-children": "error",
|
|
717
|
-
"react/no-did-mount-set-state": "off",
|
|
718
|
-
"react/no-direct-mutation-state": "off",
|
|
719
|
-
"react/no-find-dom-node": "off",
|
|
720
|
-
"react/no-is-mounted": "off",
|
|
721
|
-
"react/no-multi-comp": "off",
|
|
722
|
-
"react/no-namespace": "error",
|
|
723
|
-
"react/no-react-children": "off",
|
|
724
|
-
"react/no-redundant-should-component-update": "off",
|
|
725
|
-
"react/no-render-return-value": "off",
|
|
726
|
-
"react/no-set-state": "off",
|
|
727
|
-
"react/no-string-refs": "off",
|
|
728
|
-
"react/no-this-in-sfc": "off",
|
|
729
|
-
"react/no-unescaped-entities": "error",
|
|
730
|
-
"react/no-unknown-property": "error",
|
|
731
|
-
"react/no-unsafe": "off",
|
|
732
|
-
"react/no-will-update-set-state": "off",
|
|
733
|
-
"react/only-export-components": "off",
|
|
734
|
-
"react/prefer-es6-class": "off",
|
|
735
|
-
"react/prefer-function-component": "off",
|
|
736
|
-
"react/react-in-jsx-scope": "off",
|
|
737
|
-
"react/require-render-return": "off",
|
|
738
|
-
"react/rules-of-hooks": "error",
|
|
739
|
-
"react/self-closing-comp": "error",
|
|
740
|
-
"react/state-in-constructor": "off",
|
|
741
|
-
"react/style-prop-object": "error",
|
|
742
|
-
"react/void-dom-elements-no-children": "error"
|
|
743
|
-
}
|
|
744
|
-
};
|
|
745
|
-
//#endregion
|
|
746
|
-
//#region ../oxlint-react/src/config-test-files/index.ts
|
|
747
|
-
const config$5 = { rules: {
|
|
748
|
-
"jsx-a11y/alt-text": "off",
|
|
749
|
-
"jsx-a11y/anchor-ambiguous-text": "off",
|
|
750
|
-
"jsx-a11y/anchor-has-content": "off",
|
|
751
|
-
"jsx-a11y/anchor-is-valid": "off",
|
|
752
|
-
"jsx-a11y/click-events-have-key-events": "off",
|
|
753
|
-
"jsx-a11y/heading-has-content": "off",
|
|
754
|
-
"jsx-a11y/html-has-lang": "off",
|
|
755
|
-
"jsx-a11y/iframe-has-title": "off",
|
|
756
|
-
"jsx-a11y/label-has-associated-control": "off",
|
|
757
|
-
"jsx-a11y/lang": "off",
|
|
758
|
-
"jsx-a11y/mouse-events-have-key-events": "off",
|
|
759
|
-
"jsx-a11y/no-access-key": "off",
|
|
760
|
-
"jsx-a11y/no-autofocus": "off",
|
|
761
|
-
"jsx-a11y/no-distracting-elements": "off",
|
|
762
|
-
"jsx-a11y/no-noninteractive-tabindex": "off",
|
|
763
|
-
"jsx-a11y/no-redundant-roles": "off",
|
|
764
|
-
"jsx-a11y/no-static-element-interactions": "off",
|
|
765
|
-
"jsx-a11y/prefer-tag-over-role": "off",
|
|
766
|
-
"jsx-a11y/scope": "off",
|
|
767
|
-
"jsx-a11y/tabindex-no-positive": "off",
|
|
768
|
-
"react-perf/jsx-no-new-array-as-prop": "off",
|
|
769
|
-
"react/button-has-type": "off",
|
|
770
|
-
"react/checked-requires-onchange-or-readonly": "off",
|
|
771
|
-
"react/jsx-no-target-blank": "off",
|
|
772
|
-
"react/jsx-no-useless-fragment": "off",
|
|
773
|
-
"react/no-array-index-key": "off",
|
|
774
|
-
"react/no-children-prop": "off",
|
|
775
|
-
"react/no-danger": "off"
|
|
776
|
-
} };
|
|
721
|
+
//#region ../utilities/src/constants/index.ts
|
|
722
|
+
const GLOB_SET_CONFIG_FILES = ["**/*.config.{js,ts,cjs,cts,mjs,mts}", "**/*.setup.{js,ts,cjs,cts,mjs,mts}"];
|
|
723
|
+
const GLOB_SET_TEST_FILES = ["**/*.test.{js,jsx,ts,tsx,cjs,cts,mjs,mts}", "**/*.test-d.{ts,cts,mts}"];
|
|
724
|
+
const GLOB_SET_TYPE_DEFINITIONS = ["**/*.d.{ts,cts,mts}", "**/*.test-d.{ts,cts,mts}"];
|
|
777
725
|
//#endregion
|
|
778
726
|
//#region ../utilities/src/clone/index.ts
|
|
779
727
|
function clone(value) {
|
|
@@ -816,10 +764,16 @@ function isObject(value) {
|
|
|
816
764
|
}
|
|
817
765
|
//#endregion
|
|
818
766
|
//#region src/config-test-files/index.ts
|
|
819
|
-
|
|
767
|
+
/**
|
|
768
|
+
* Optional config entry containing core rules that target test files. Intended
|
|
769
|
+
* for explicit overrides.
|
|
770
|
+
*/
|
|
771
|
+
const config$2 = { rules: {
|
|
772
|
+
"eslint/getter-return": "off",
|
|
820
773
|
"eslint/no-empty-function": "off",
|
|
821
774
|
"eslint/no-param-reassign": "off",
|
|
822
775
|
"eslint/no-promise-executor-return": "off",
|
|
776
|
+
"eslint/no-useless-assignment": "off",
|
|
823
777
|
"import/no-unassigned-import": "off",
|
|
824
778
|
"import/unambiguous": "off",
|
|
825
779
|
"jest/expect-expect": "warn",
|
|
@@ -898,22 +852,59 @@ const config$3 = mergeConfig(config$5, { rules: {
|
|
|
898
852
|
suite: "each"
|
|
899
853
|
}],
|
|
900
854
|
"vitest/consistent-vitest-vi": "error",
|
|
855
|
+
"vitest/expect-expect": "warn",
|
|
901
856
|
"vitest/hoisted-apis-on-top": "error",
|
|
857
|
+
"vitest/no-commented-out-tests": "warn",
|
|
858
|
+
"vitest/no-conditional-expect": "error",
|
|
859
|
+
"vitest/no-conditional-in-test": "error",
|
|
860
|
+
"vitest/no-disabled-tests": "warn",
|
|
861
|
+
"vitest/no-duplicate-hooks": "warn",
|
|
862
|
+
"vitest/no-focused-tests": "warn",
|
|
863
|
+
"vitest/no-identical-title": "warn",
|
|
902
864
|
"vitest/no-import-node-test": "error",
|
|
865
|
+
"vitest/no-interpolation-in-snapshots": "error",
|
|
866
|
+
"vitest/no-mocks-import": "error",
|
|
867
|
+
"vitest/no-standalone-expect": "error",
|
|
868
|
+
"vitest/no-test-return-statement": "error",
|
|
869
|
+
"vitest/no-unneeded-async-expect-function": "error",
|
|
870
|
+
"vitest/padding-around-after-all-blocks": "error",
|
|
903
871
|
"vitest/prefer-called-exactly-once-with": "warn",
|
|
904
872
|
"vitest/prefer-called-times": "error",
|
|
873
|
+
"vitest/prefer-comparison-matcher": "error",
|
|
905
874
|
"vitest/prefer-describe-function-title": "error",
|
|
875
|
+
"vitest/prefer-each": "error",
|
|
876
|
+
"vitest/prefer-equality-matcher": "error",
|
|
877
|
+
"vitest/prefer-expect-resolves": "error",
|
|
906
878
|
"vitest/prefer-expect-type-of": "error",
|
|
879
|
+
"vitest/prefer-hooks-in-order": "warn",
|
|
880
|
+
"vitest/prefer-hooks-on-top": "warn",
|
|
907
881
|
"vitest/prefer-importing-vitest-globals": "error",
|
|
882
|
+
"vitest/prefer-mock-promise-shorthand": "error",
|
|
883
|
+
"vitest/prefer-mock-return-shorthand": "error",
|
|
908
884
|
"vitest/prefer-strict-boolean-matchers": "error",
|
|
885
|
+
"vitest/prefer-strict-equal": "error",
|
|
886
|
+
"vitest/prefer-to-be": "error",
|
|
909
887
|
"vitest/prefer-to-be-object": "error",
|
|
888
|
+
"vitest/prefer-to-contain": "error",
|
|
889
|
+
"vitest/prefer-to-have-been-called-times": "error",
|
|
890
|
+
"vitest/prefer-to-have-length": "error",
|
|
891
|
+
"vitest/prefer-todo": "error",
|
|
910
892
|
"vitest/require-awaited-expect-poll": "error",
|
|
911
893
|
"vitest/require-local-test-context-for-concurrent-snapshots": "error",
|
|
894
|
+
"vitest/require-to-throw-message": "error",
|
|
895
|
+
"vitest/valid-describe-callback": "error",
|
|
896
|
+
"vitest/valid-expect": "error",
|
|
897
|
+
"vitest/valid-expect-in-promise": "error",
|
|
898
|
+
"vitest/valid-title": "error",
|
|
912
899
|
"vitest/warn-todo": "warn"
|
|
913
|
-
} }
|
|
900
|
+
} };
|
|
914
901
|
//#endregion
|
|
915
902
|
//#region src/config-type-definitions/index.ts
|
|
916
|
-
|
|
903
|
+
/**
|
|
904
|
+
* Optional config entry containing core rules that target type definition
|
|
905
|
+
* files. Intended for explicit overrides.
|
|
906
|
+
*/
|
|
907
|
+
const config$3 = { rules: {
|
|
917
908
|
"import/no-empty-named-blocks": "off",
|
|
918
909
|
"import/no-unassigned-import": "off",
|
|
919
910
|
"import/unambiguous": "off",
|
|
@@ -924,32 +915,42 @@ const config$4 = { rules: {
|
|
|
924
915
|
"unicorn/require-module-specifiers": "off"
|
|
925
916
|
} };
|
|
926
917
|
//#endregion
|
|
918
|
+
//#region src/config-default/index.ts
|
|
919
|
+
/**
|
|
920
|
+
* Resolved Standard Config core entry.
|
|
921
|
+
*/
|
|
922
|
+
const config$4 = mergeConfig(config, { overrides: [
|
|
923
|
+
{
|
|
924
|
+
files: GLOB_SET_TYPE_DEFINITIONS,
|
|
925
|
+
...config$3
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
files: GLOB_SET_TEST_FILES,
|
|
929
|
+
...config$2
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
files: GLOB_SET_CONFIG_FILES,
|
|
933
|
+
...config$1
|
|
934
|
+
}
|
|
935
|
+
] });
|
|
936
|
+
//#endregion
|
|
927
937
|
//#region src/define-config/index.ts
|
|
938
|
+
const SUPPLEMENTAL_CONFIGS = [];
|
|
939
|
+
for (const config of ["@standard-config/oxlint-react", "@standard-config/oxlint-stylistic"]) {
|
|
940
|
+
let resolvedConfig;
|
|
941
|
+
try {
|
|
942
|
+
resolvedConfig = (await import(config)).default;
|
|
943
|
+
} catch {}
|
|
944
|
+
if (typeof resolvedConfig === "object") SUPPLEMENTAL_CONFIGS.push(resolvedConfig);
|
|
945
|
+
}
|
|
928
946
|
function defineConfig(...configs) {
|
|
929
|
-
let
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
return defineConfig$1(mergeConfig({
|
|
937
|
-
...includeReactConfig ? mergeConfig(config, config$2) : config,
|
|
938
|
-
overrides: [
|
|
939
|
-
{
|
|
940
|
-
files: ["**/*.d.{ts,cts,mts}", "**/*.test-d.{ts,cts,mts}"],
|
|
941
|
-
...config$4
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
files: ["**/*.test.{ts,tsx,cts,mts}", "**/*.test-d.{ts,cts,mts}"],
|
|
945
|
-
...config$3
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
files: ["**/*.config.{ts,cts,mts}", "**/*.setup.{ts,cts,mts}"],
|
|
949
|
-
...config$1
|
|
950
|
-
}
|
|
951
|
-
]
|
|
952
|
-
}, extensionConfig));
|
|
947
|
+
let mergedConfig = {};
|
|
948
|
+
for (const config of [
|
|
949
|
+
config$4,
|
|
950
|
+
...SUPPLEMENTAL_CONFIGS,
|
|
951
|
+
...configs
|
|
952
|
+
]) mergedConfig = mergeConfig(mergedConfig, config);
|
|
953
|
+
return defineConfig$1(mergedConfig);
|
|
953
954
|
}
|
|
954
955
|
//#endregion
|
|
955
956
|
//#region src/define-oxlint-config/index.ts
|
|
@@ -960,6 +961,39 @@ function defineOxlintConfig(...configs) {
|
|
|
960
961
|
return defineConfig(...configs);
|
|
961
962
|
}
|
|
962
963
|
//#endregion
|
|
963
|
-
|
|
964
|
+
//#region ../utilities/src/resolve-plugin/index.ts
|
|
965
|
+
/**
|
|
966
|
+
* Resolve an external plugin specifier to a file path.
|
|
967
|
+
*
|
|
968
|
+
* @example
|
|
969
|
+
*
|
|
970
|
+
* ```ts
|
|
971
|
+
* import { resolvePlugin } from '@standard-config/oxlint';
|
|
972
|
+
* import { defineConfig } from 'oxlint';
|
|
973
|
+
*
|
|
974
|
+
* const config = defineConfig({
|
|
975
|
+
* jsPlugins: [
|
|
976
|
+
* resolvePlugin(
|
|
977
|
+
* 'react-x',
|
|
978
|
+
* '@eslint-react/eslint-plugin',
|
|
979
|
+
* ),
|
|
980
|
+
* ],
|
|
981
|
+
* rules: {
|
|
982
|
+
* 'react-x/refs': 'error',
|
|
983
|
+
* },
|
|
984
|
+
* });
|
|
985
|
+
* ```
|
|
986
|
+
*/
|
|
987
|
+
function resolvePlugin(name, specifier) {
|
|
988
|
+
try {
|
|
989
|
+
specifier = fileURLToPath(import.meta.resolve(specifier));
|
|
990
|
+
} catch {}
|
|
991
|
+
return {
|
|
992
|
+
name,
|
|
993
|
+
specifier
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
//#endregion
|
|
997
|
+
export { config as configCoreBase, config$1 as configCoreConfigFiles, config$2 as configCoreTestFiles, config$3 as configCoreTypeDefinitions, config$4 as default, defineConfig, defineOxlintConfig, resolvePlugin };
|
|
964
998
|
|
|
965
999
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["config","config","config","config","configReactTestFiles","config","oxlintDefineConfig","configBase","configReactBase","configTypeDefinitions","configTestFiles","configConfigFiles"],"sources":["../src/config-base/index.ts","../src/config-config-files/index.ts","../../oxlint-react/src/config-base/index.ts","../../oxlint-react/src/config-test-files/index.ts","../../utilities/src/clone/index.ts","../../utilities/src/merge-config/index.ts","../src/config-test-files/index.ts","../src/config-type-definitions/index.ts","../src/define-config/index.ts","../src/define-oxlint-config/index.ts"],"sourcesContent":["import type { LinterConfigEntry } from '@standard-config/utilities/types';\n\nconst config: LinterConfigEntry = {\n\tplugins: [\n\t\t'eslint',\n\t\t'import',\n\t\t'jest',\n\t\t'node',\n\t\t'oxc',\n\t\t'promise',\n\t\t'typescript',\n\t\t'unicorn',\n\t\t'vitest',\n\t],\n\tenv: {\n\t\tbrowser: true,\n\t\tnode: true,\n\t},\n\toptions: {\n\t\treportUnusedDisableDirectives: 'warn',\n\t\ttypeAware: true,\n\t},\n\tsettings: {\n\t\tvitest: {\n\t\t\ttypecheck: true,\n\t\t},\n\t},\n\trules: {\n\t\t'eslint/accessor-pairs': ['error', { enforceForClassMembers: true }],\n\t\t'eslint/array-callback-return': ['error', { allowImplicit: true }],\n\t\t'eslint/arrow-body-style': 'off',\n\t\t'eslint/block-scoped-var': 'off',\n\t\t'eslint/capitalized-comments': 'off',\n\t\t'eslint/class-methods-use-this': 'off',\n\t\t'eslint/complexity': 'off',\n\t\t'eslint/constructor-super': 'off',\n\t\t'eslint/curly': ['error', 'all'],\n\t\t'eslint/default-case': 'off',\n\t\t'eslint/default-case-last': 'error',\n\t\t'eslint/default-param-last': 'error',\n\t\t'eslint/eqeqeq': 'error',\n\t\t'eslint/for-direction': 'error',\n\t\t'eslint/func-names': 'off',\n\t\t'eslint/func-style': [\n\t\t\t'error',\n\t\t\t'declaration',\n\t\t\t{ allowArrowFunctions: true },\n\t\t],\n\t\t'eslint/grouped-accessor-pairs': ['error', 'getBeforeSet'],\n\t\t'eslint/guard-for-in': 'error',\n\t\t'eslint/id-length': 'off',\n\t\t'eslint/init-declarations': 'off',\n\t\t'eslint/max-classes-per-file': 'off',\n\t\t'eslint/max-depth': 'off',\n\t\t'eslint/max-lines': 'off',\n\t\t'eslint/max-lines-per-function': 'off',\n\t\t'eslint/max-nested-callbacks': 'off',\n\t\t'eslint/max-params': 'off',\n\t\t'eslint/max-statements': 'off',\n\t\t'eslint/new-cap': 'off',\n\t\t'eslint/no-alert': 'off',\n\t\t'eslint/no-array-constructor': 'error',\n\t\t'eslint/no-async-promise-executor': 'error',\n\t\t'eslint/no-await-in-loop': 'off',\n\t\t'eslint/no-bitwise': 'error',\n\t\t'eslint/no-caller': 'error',\n\t\t'eslint/no-case-declarations': 'error',\n\t\t'eslint/no-class-assign': 'off',\n\t\t'eslint/no-compare-neg-zero': 'error',\n\t\t'eslint/no-cond-assign': 'error',\n\t\t'eslint/no-console': 'warn',\n\t\t'eslint/no-const-assign': 'off',\n\t\t'eslint/no-constant-binary-expression': 'error',\n\t\t'eslint/no-constant-condition': 'off',\n\t\t'eslint/no-constructor-return': 'error',\n\t\t'eslint/no-continue': 'off',\n\t\t'eslint/no-control-regex': 'error',\n\t\t'eslint/no-debugger': 'error',\n\t\t'eslint/no-delete-var': 'off',\n\t\t'eslint/no-div-regex': 'off',\n\t\t'eslint/no-dupe-class-members': 'off',\n\t\t'eslint/no-dupe-else-if': 'error',\n\t\t'eslint/no-dupe-keys': 'off',\n\t\t'eslint/no-duplicate-case': 'error',\n\t\t'eslint/no-duplicate-imports': 'off',\n\t\t'eslint/no-else-return': ['error', { allowElseIf: false }],\n\t\t'eslint/no-empty': ['error', { allowEmptyCatch: true }],\n\t\t'eslint/no-empty-character-class': 'error',\n\t\t'eslint/no-empty-function': 'warn',\n\t\t'eslint/no-empty-pattern': 'error',\n\t\t'eslint/no-empty-static-block': 'error',\n\t\t'eslint/no-eq-null': 'error',\n\t\t'eslint/no-eval': 'off',\n\t\t'eslint/no-ex-assign': 'error',\n\t\t'eslint/no-extend-native': 'error',\n\t\t'eslint/no-extra-bind': 'warn',\n\t\t'eslint/no-extra-boolean-cast': 'error',\n\t\t'eslint/no-extra-label': 'error',\n\t\t'eslint/no-fallthrough': 'off',\n\t\t'eslint/no-func-assign': 'off',\n\t\t'eslint/no-global-assign': 'error',\n\t\t'eslint/no-implicit-coercion': 'error',\n\t\t'eslint/no-import-assign': 'off',\n\t\t'eslint/no-inline-comments': 'off',\n\t\t'eslint/no-inner-declarations': 'off',\n\t\t'eslint/no-invalid-regexp': 'error',\n\t\t'eslint/no-irregular-whitespace': 'off',\n\t\t'eslint/no-iterator': 'off',\n\t\t'eslint/no-label-var': 'off',\n\t\t'eslint/no-labels': 'off',\n\t\t'eslint/no-lone-blocks': 'off',\n\t\t'eslint/no-lonely-if': 'warn',\n\t\t'eslint/no-loop-func': 'error',\n\t\t'eslint/no-loss-of-precision': 'error',\n\t\t'eslint/no-magic-numbers': 'off',\n\t\t'eslint/no-misleading-character-class': 'error',\n\t\t'eslint/no-multi-assign': 'error',\n\t\t'eslint/no-multi-str': 'off',\n\t\t'eslint/no-negated-condition': 'off',\n\t\t'eslint/no-nested-ternary': 'off',\n\t\t'eslint/no-new': 'off',\n\t\t'eslint/no-new-func': 'error',\n\t\t'eslint/no-new-native-nonconstructor': 'off',\n\t\t'eslint/no-new-wrappers': 'error',\n\t\t'eslint/no-nonoctal-decimal-escape': 'error',\n\t\t'eslint/no-obj-calls': 'off',\n\t\t'eslint/no-object-constructor': 'error',\n\t\t'eslint/no-param-reassign': 'error',\n\t\t'eslint/no-plusplus': 'off',\n\t\t'eslint/no-promise-executor-return': 'error',\n\t\t'eslint/no-proto': 'error',\n\t\t'eslint/no-prototype-builtins': 'off',\n\t\t'eslint/no-redeclare': 'off',\n\t\t'eslint/no-regex-spaces': 'error',\n\t\t'eslint/no-restricted-globals': 'off',\n\t\t'eslint/no-restricted-imports': 'off',\n\t\t'eslint/no-return-assign': ['error', 'always'],\n\t\t'eslint/no-script-url': 'off',\n\t\t'eslint/no-self-assign': ['error', { props: true }],\n\t\t'eslint/no-self-compare': 'error',\n\t\t'eslint/no-sequences': 'error',\n\t\t'eslint/no-setter-return': 'off',\n\t\t'eslint/no-shadow': 'off',\n\t\t'eslint/no-shadow-restricted-names': 'error',\n\t\t'eslint/no-sparse-arrays': 'error',\n\t\t'eslint/no-template-curly-in-string': 'warn',\n\t\t'eslint/no-ternary': 'off',\n\t\t'eslint/no-this-before-super': 'off',\n\t\t'eslint/no-throw-literal': 'error',\n\t\t'eslint/no-unassigned-vars': 'error',\n\t\t'eslint/no-undef': 'off',\n\t\t'eslint/no-undefined': 'off',\n\t\t'eslint/no-unexpected-multiline': 'off',\n\t\t'eslint/no-unmodified-loop-condition': 'error',\n\t\t'eslint/no-unneeded-ternary': 'warn',\n\t\t'eslint/no-unreachable': 'warn',\n\t\t'eslint/no-unsafe-finally': 'error',\n\t\t'eslint/no-unsafe-negation': 'off',\n\t\t'eslint/no-unsafe-optional-chaining': [\n\t\t\t'error',\n\t\t\t{ disallowArithmeticOperators: true },\n\t\t],\n\t\t'eslint/no-unused-expressions': ['error', { enforceForJSX: true }],\n\t\t'eslint/no-unused-labels': 'error',\n\t\t'eslint/no-unused-private-class-members': 'error',\n\t\t'eslint/no-unused-vars': [\n\t\t\t'warn',\n\t\t\t{\n\t\t\t\targsIgnorePattern: '^_',\n\t\t\t\tcaughtErrorsIgnorePattern: '^_',\n\t\t\t\tdestructuredArrayIgnorePattern: '^_',\n\t\t\t\tvarsIgnorePattern: '^_',\n\t\t\t},\n\t\t],\n\t\t'eslint/no-use-before-define': 'off',\n\t\t'eslint/no-useless-backreference': 'error',\n\t\t'eslint/no-useless-call': 'error',\n\t\t'eslint/no-useless-catch': 'error',\n\t\t'eslint/no-useless-computed-key': 'warn',\n\t\t'eslint/no-useless-concat': 'error',\n\t\t'eslint/no-useless-constructor': 'off',\n\t\t'eslint/no-useless-escape': 'warn',\n\t\t'eslint/no-useless-rename': 'warn',\n\t\t'eslint/no-useless-return': 'warn',\n\t\t'eslint/no-var': 'error',\n\t\t'eslint/no-void': 'off',\n\t\t'eslint/no-warning-comments': 'off',\n\t\t'eslint/no-with': 'error',\n\t\t'eslint/object-shorthand': ['error', 'always'],\n\t\t'eslint/operator-assignment': ['warn', 'always'],\n\t\t'eslint/prefer-const': 'error',\n\t\t'eslint/prefer-destructuring': [\n\t\t\t'error',\n\t\t\t{ enforceForRenamedProperties: false },\n\t\t],\n\t\t'eslint/prefer-exponentiation-operator': 'warn',\n\t\t'eslint/prefer-numeric-literals': 'off',\n\t\t'eslint/prefer-object-has-own': 'error',\n\t\t'eslint/prefer-object-spread': 'error',\n\t\t'eslint/prefer-promise-reject-errors': 'off',\n\t\t'eslint/prefer-rest-params': 'error',\n\t\t'eslint/prefer-spread': 'warn',\n\t\t'eslint/prefer-template': 'error',\n\t\t'eslint/preserve-caught-error': 'error',\n\t\t'eslint/radix': 'error',\n\t\t'eslint/require-await': 'off',\n\t\t'eslint/require-yield': 'error',\n\t\t'eslint/sort-imports': 'off',\n\t\t'eslint/sort-keys': 'off',\n\t\t'eslint/sort-vars': 'off',\n\t\t'eslint/symbol-description': 'error',\n\t\t'eslint/unicode-bom': ['error', 'never'],\n\t\t'eslint/use-isnan': 'error',\n\t\t'eslint/valid-typeof': ['error', { requireStringLiterals: false }],\n\t\t'eslint/vars-on-top': 'off',\n\t\t'eslint/yoda': ['error', 'never', { exceptRange: true }],\n\t\t'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],\n\t\t'import/default': 'error',\n\t\t'import/exports-last': 'off',\n\t\t'import/extensions': 'off',\n\t\t'import/first': 'error',\n\t\t'import/group-exports': 'off',\n\t\t'import/max-dependencies': 'off',\n\t\t'import/namespace': 'error',\n\t\t'import/no-absolute-path': 'error',\n\t\t'import/no-amd': 'off',\n\t\t'import/no-anonymous-default-export': 'error',\n\t\t'import/no-commonjs': ['error', { allowConditionalRequire: false }],\n\t\t'import/no-cycle': 'error',\n\t\t'import/no-default-export': 'off',\n\t\t'import/no-duplicates': 'error',\n\t\t'import/no-dynamic-require': 'off',\n\t\t'import/no-empty-named-blocks': 'error',\n\t\t'import/no-mutable-exports': 'error',\n\t\t'import/no-named-as-default': 'warn',\n\t\t'import/no-named-as-default-member': 'error',\n\t\t'import/no-named-default': 'warn',\n\t\t'import/no-named-export': 'off',\n\t\t'import/no-namespace': 'off',\n\t\t'import/no-nodejs-modules': 'off',\n\t\t'import/no-relative-parent-imports': 'off',\n\t\t'import/no-self-import': 'error',\n\t\t'import/no-unassigned-import': 'error',\n\t\t'import/no-webpack-loader-syntax': 'off',\n\t\t'import/prefer-default-export': 'off',\n\t\t'import/unambiguous': 'warn',\n\t\t'jest/consistent-test-it': 'off',\n\t\t'jest/expect-expect': 'off',\n\t\t'jest/max-expects': 'off',\n\t\t'jest/max-nested-describe': 'off',\n\t\t'jest/no-alias-methods': 'off',\n\t\t'jest/no-commented-out-tests': 'off',\n\t\t'jest/no-conditional-expect': 'off',\n\t\t'jest/no-conditional-in-test': 'off',\n\t\t'jest/no-confusing-set-timeout': 'off',\n\t\t'jest/no-deprecated-functions': 'off',\n\t\t'jest/no-disabled-tests': 'off',\n\t\t'jest/no-done-callback': 'off',\n\t\t'jest/no-duplicate-hooks': 'off',\n\t\t'jest/no-export': 'off',\n\t\t'jest/no-focused-tests': 'off',\n\t\t'jest/no-hooks': 'off',\n\t\t'jest/no-identical-title': 'off',\n\t\t'jest/no-interpolation-in-snapshots': 'off',\n\t\t'jest/no-jasmine-globals': 'off',\n\t\t'jest/no-large-snapshots': 'off',\n\t\t'jest/no-mocks-import': 'off',\n\t\t'jest/no-restricted-jest-methods': 'off',\n\t\t'jest/no-restricted-matchers': 'off',\n\t\t'jest/no-standalone-expect': 'off',\n\t\t'jest/no-test-prefixes': 'off',\n\t\t'jest/no-test-return-statement': 'off',\n\t\t'jest/no-unneeded-async-expect-function': 'off',\n\t\t'jest/no-untyped-mock-factory': 'off',\n\t\t'jest/padding-around-after-all-blocks': 'off',\n\t\t'jest/padding-around-test-blocks': 'off',\n\t\t'jest/prefer-called-with': 'off',\n\t\t'jest/prefer-comparison-matcher': 'off',\n\t\t'jest/prefer-each': 'off',\n\t\t'jest/prefer-ending-with-an-expect': 'off',\n\t\t'jest/prefer-equality-matcher': 'off',\n\t\t'jest/prefer-expect-resolves': 'off',\n\t\t'jest/prefer-hooks-in-order': 'off',\n\t\t'jest/prefer-hooks-on-top': 'off',\n\t\t'jest/prefer-importing-jest-globals': 'off',\n\t\t'jest/prefer-jest-mocked': 'off',\n\t\t'jest/prefer-lowercase-title': 'off',\n\t\t'jest/prefer-mock-promise-shorthand': 'off',\n\t\t'jest/prefer-mock-return-shorthand': 'off',\n\t\t'jest/prefer-snapshot-hint': 'off',\n\t\t'jest/prefer-spy-on': 'off',\n\t\t'jest/prefer-strict-equal': 'off',\n\t\t'jest/prefer-to-be': 'off',\n\t\t'jest/prefer-to-contain': 'off',\n\t\t'jest/prefer-to-have-been-called': 'off',\n\t\t'jest/prefer-to-have-been-called-times': 'off',\n\t\t'jest/prefer-to-have-length': 'off',\n\t\t'jest/prefer-todo': 'off',\n\t\t'jest/require-hook': 'off',\n\t\t'jest/require-to-throw-message': 'off',\n\t\t'jest/require-top-level-describe': 'off',\n\t\t'jest/valid-describe-callback': 'off',\n\t\t'jest/valid-expect': 'off',\n\t\t'jest/valid-expect-in-promise': 'off',\n\t\t'jest/valid-title': 'off',\n\t\t'node/global-require': 'off',\n\t\t'node/handle-callback-err': ['error', 'error'],\n\t\t'node/no-exports-assign': 'off',\n\t\t'node/no-new-require': 'off',\n\t\t'node/no-path-concat': 'error',\n\t\t'node/no-process-env': 'off',\n\t\t'oxc/approx-constant': 'error',\n\t\t'oxc/bad-array-method-on-arguments': 'error',\n\t\t'oxc/bad-bitwise-operator': 'error',\n\t\t'oxc/bad-char-at-comparison': 'error',\n\t\t'oxc/bad-comparison-sequence': 'error',\n\t\t'oxc/bad-min-max-func': 'error',\n\t\t'oxc/bad-object-literal-comparison': 'error',\n\t\t'oxc/bad-replace-all-arg': 'error',\n\t\t'oxc/branches-sharing-code': 'warn',\n\t\t'oxc/const-comparisons': 'warn',\n\t\t'oxc/double-comparisons': 'error',\n\t\t'oxc/erasing-op': 'error',\n\t\t'oxc/misrefactored-assign-op': 'error',\n\t\t'oxc/missing-throw': 'error',\n\t\t'oxc/no-accumulating-spread': 'error',\n\t\t'oxc/no-async-await': 'off',\n\t\t'oxc/no-async-endpoint-handlers': 'off',\n\t\t'oxc/no-barrel-file': 'off',\n\t\t'oxc/no-const-enum': 'off',\n\t\t'oxc/no-map-spread': 'error',\n\t\t'oxc/no-optional-chaining': 'off',\n\t\t'oxc/no-rest-spread-properties': 'off',\n\t\t'oxc/no-this-in-exported-function': 'error',\n\t\t'oxc/number-arg-out-of-range': 'error',\n\t\t'oxc/only-used-in-recursion': 'error',\n\t\t'oxc/uninvoked-array-callback': 'error',\n\t\t'promise/always-return': 'error',\n\t\t'promise/avoid-new': 'off',\n\t\t'promise/catch-or-return': 'warn',\n\t\t'promise/no-callback-in-promise': 'warn',\n\t\t'promise/no-multiple-resolved': 'error',\n\t\t'promise/no-nesting': 'warn',\n\t\t'promise/no-new-statics': 'error',\n\t\t'promise/no-promise-in-callback': 'warn',\n\t\t'promise/no-return-in-finally': 'warn',\n\t\t'promise/no-return-wrap': ['error', { allowReject: true }],\n\t\t'promise/param-names': 'error',\n\t\t'promise/prefer-await-to-callbacks': 'off',\n\t\t'promise/prefer-await-to-then': 'error',\n\t\t'promise/prefer-catch': 'warn',\n\t\t'promise/spec-only': 'error',\n\t\t'promise/valid-params': 'error',\n\t\t'typescript/adjacent-overload-signatures': 'error',\n\t\t'typescript/array-type': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tdefault: 'array-simple',\n\t\t\t\treadonly: 'generic',\n\t\t\t},\n\t\t],\n\t\t'typescript/await-thenable': 'error',\n\t\t'typescript/ban-ts-comment': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\t'ts-check': true,\n\t\t\t\t'ts-expect-error': false,\n\t\t\t\t'ts-ignore': true,\n\t\t\t\t'ts-nocheck': true,\n\t\t\t},\n\t\t],\n\t\t'typescript/ban-tslint-comment': 'off',\n\t\t'typescript/ban-types': 'off',\n\t\t'typescript/class-literal-property-style': ['error', 'fields'],\n\t\t'typescript/consistent-generic-constructors': ['error', 'constructor'],\n\t\t'typescript/consistent-indexed-object-style': ['error', 'record'],\n\t\t'typescript/consistent-return': 'off',\n\t\t'typescript/consistent-type-assertions': [\n\t\t\t'error',\n\t\t\t{ assertionStyle: 'as' },\n\t\t],\n\t\t'typescript/consistent-type-definitions': ['error', 'type'],\n\t\t'typescript/consistent-type-exports': 'error',\n\t\t'typescript/consistent-type-imports': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tfixStyle: 'separate-type-imports',\n\t\t\t\tprefer: 'type-imports',\n\t\t\t},\n\t\t],\n\t\t'typescript/dot-notation': 'warn',\n\t\t'typescript/explicit-function-return-type': 'off',\n\t\t'typescript/explicit-module-boundary-types': [\n\t\t\t'error',\n\t\t\t{ allowArgumentsExplicitlyTypedAsAny: true },\n\t\t],\n\t\t'typescript/no-array-delete': 'off',\n\t\t'typescript/no-base-to-string': 'error',\n\t\t'typescript/no-confusing-non-null-assertion': 'error',\n\t\t'typescript/no-confusing-void-expression': [\n\t\t\t'error',\n\t\t\t{ ignoreArrowShorthand: true },\n\t\t],\n\t\t'typescript/no-deprecated': 'warn',\n\t\t'typescript/no-duplicate-enum-values': 'off',\n\t\t'typescript/no-duplicate-type-constituents': 'error',\n\t\t'typescript/no-dynamic-delete': 'error',\n\t\t'typescript/no-empty-interface': 'off',\n\t\t'typescript/no-empty-object-type': 'error',\n\t\t'typescript/no-explicit-any': 'off',\n\t\t'typescript/no-extra-non-null-assertion': 'error',\n\t\t'typescript/no-extraneous-class': 'warn',\n\t\t'typescript/no-floating-promises': 'error',\n\t\t'typescript/no-for-in-array': 'error',\n\t\t'typescript/no-implied-eval': 'error',\n\t\t'typescript/no-import-type-side-effects': 'error',\n\t\t'typescript/no-inferrable-types': 'warn',\n\t\t'typescript/no-invalid-void-type': 'off',\n\t\t'typescript/no-meaningless-void-operator': 'warn',\n\t\t'typescript/no-misused-new': 'error',\n\t\t'typescript/no-misused-promises': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tchecksConditionals: true,\n\t\t\t\tchecksVoidReturn: false,\n\t\t\t},\n\t\t],\n\t\t'typescript/no-misused-spread': 'error',\n\t\t'typescript/no-mixed-enums': 'off',\n\t\t'typescript/no-namespace': ['error', { allowDeclarations: true }],\n\t\t'typescript/no-non-null-asserted-nullish-coalescing': 'error',\n\t\t'typescript/no-non-null-asserted-optional-chain': 'error',\n\t\t'typescript/no-non-null-assertion': 'off',\n\t\t'typescript/no-redundant-type-constituents': 'error',\n\t\t'typescript/no-require-imports': 'error',\n\t\t'typescript/no-restricted-types': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\ttypes: {\n\t\t\t\t\t'[]': true,\n\t\t\t\t\t'null': true,\n\t\t\t\t\t'object': true,\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t\t'typescript/no-this-alias': 'error',\n\t\t'typescript/no-unnecessary-boolean-literal-compare': 'warn',\n\t\t'typescript/no-unnecessary-parameter-property-assignment': 'warn',\n\t\t'typescript/no-unnecessary-qualifier': 'warn',\n\t\t'typescript/no-unnecessary-template-expression': 'warn',\n\t\t'typescript/no-unnecessary-type-arguments': 'warn',\n\t\t'typescript/no-unnecessary-type-assertion': 'warn',\n\t\t'typescript/no-unnecessary-type-constraint': 'warn',\n\t\t'typescript/no-unnecessary-type-conversion': 'warn',\n\t\t'typescript/no-unnecessary-type-parameters': 'warn',\n\t\t'typescript/no-unsafe-argument': 'error',\n\t\t'typescript/no-unsafe-assignment': 'error',\n\t\t'typescript/no-unsafe-call': 'error',\n\t\t'typescript/no-unsafe-declaration-merging': 'error',\n\t\t'typescript/no-unsafe-enum-comparison': 'error',\n\t\t'typescript/no-unsafe-function-type': 'error',\n\t\t'typescript/no-unsafe-member-access': 'error',\n\t\t'typescript/no-unsafe-return': 'error',\n\t\t'typescript/no-unsafe-type-assertion': 'off',\n\t\t'typescript/no-unsafe-unary-minus': 'error',\n\t\t'typescript/no-useless-default-assignment': 'warn',\n\t\t'typescript/no-useless-empty-export': 'error',\n\t\t'typescript/no-var-requires': 'off',\n\t\t'typescript/no-wrapper-object-types': 'error',\n\t\t'typescript/non-nullable-type-assertion-style': 'warn',\n\t\t'typescript/only-throw-error': ['error', { allowThrowingAny: false }],\n\t\t'typescript/parameter-properties': [\n\t\t\t'error',\n\t\t\t{ prefer: 'class-property' },\n\t\t],\n\t\t'typescript/prefer-as-const': 'warn',\n\t\t'typescript/prefer-enum-initializers': 'off',\n\t\t'typescript/prefer-find': 'warn',\n\t\t'typescript/prefer-for-of': 'warn',\n\t\t'typescript/prefer-function-type': 'warn',\n\t\t'typescript/prefer-includes': 'warn',\n\t\t'typescript/prefer-literal-enum-member': 'off',\n\t\t'typescript/prefer-namespace-keyword': 'off',\n\t\t'typescript/prefer-nullish-coalescing': [\n\t\t\t'error',\n\t\t\t{ ignoreConditionalTests: false },\n\t\t],\n\t\t'typescript/prefer-promise-reject-errors': 'off',\n\t\t'typescript/prefer-readonly': 'warn',\n\t\t'typescript/prefer-readonly-parameter-types': 'off',\n\t\t'typescript/prefer-reduce-type-parameter': 'error',\n\t\t'typescript/prefer-regexp-exec': 'warn',\n\t\t'typescript/prefer-return-this-type': 'warn',\n\t\t'typescript/prefer-string-starts-ends-with': 'warn',\n\t\t'typescript/prefer-ts-expect-error': 'error',\n\t\t'typescript/promise-function-async': 'error',\n\t\t'typescript/related-getter-setter-pairs': 'off',\n\t\t'typescript/require-array-sort-compare': [\n\t\t\t'error',\n\t\t\t{ ignoreStringArrays: true },\n\t\t],\n\t\t'typescript/require-await': 'warn',\n\t\t'typescript/restrict-plus-operands': 'error',\n\t\t'typescript/restrict-template-expressions': [\n\t\t\t'error',\n\t\t\t{ allowNullish: true },\n\t\t],\n\t\t'typescript/return-await': ['error', 'in-try-catch'],\n\t\t'typescript/strict-boolean-expressions': 'off',\n\t\t'typescript/strict-void-return': 'error',\n\t\t'typescript/switch-exhaustiveness-check': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tallowDefaultCaseForExhaustiveSwitch: false,\n\t\t\t\tconsiderDefaultExhaustiveForUnions: true,\n\t\t\t\trequireDefaultForNonUnion: true,\n\t\t\t},\n\t\t],\n\t\t'typescript/triple-slash-reference': 'off',\n\t\t'typescript/unbound-method': 'off',\n\t\t'typescript/unified-signatures': 'error',\n\t\t'typescript/use-unknown-in-catch-callback-variable': 'error',\n\t\t'unicorn/catch-error-name': 'error',\n\t\t'unicorn/consistent-assert': 'error',\n\t\t'unicorn/consistent-date-clone': 'error',\n\t\t'unicorn/consistent-empty-array-spread': 'error',\n\t\t'unicorn/consistent-existence-index-check': 'error',\n\t\t'unicorn/consistent-function-scoping': 'error',\n\t\t'unicorn/consistent-template-literal-escape': 'error',\n\t\t'unicorn/custom-error-definition': 'error',\n\t\t'unicorn/empty-brace-spaces': 'error',\n\t\t'unicorn/error-message': 'error',\n\t\t'unicorn/escape-case': 'error',\n\t\t'unicorn/explicit-length-check': 'error',\n\t\t'unicorn/filename-case': 'off',\n\t\t'unicorn/new-for-builtins': 'error',\n\t\t'unicorn/no-abusive-eslint-disable': 'error',\n\t\t'unicorn/no-accessor-recursion': 'error',\n\t\t'unicorn/no-anonymous-default-export': 'off',\n\t\t'unicorn/no-array-callback-reference': 'off',\n\t\t'unicorn/no-array-for-each': 'error',\n\t\t'unicorn/no-array-method-this-argument': 'error',\n\t\t'unicorn/no-array-reduce': 'error',\n\t\t'unicorn/no-array-reverse': 'error',\n\t\t'unicorn/no-array-sort': ['error'],\n\t\t'unicorn/no-await-expression-member': 'error',\n\t\t'unicorn/no-await-in-promise-methods': 'error',\n\t\t'unicorn/no-console-spaces': 'error',\n\t\t'unicorn/no-document-cookie': 'error',\n\t\t'unicorn/no-empty-file': 'warn',\n\t\t'unicorn/no-hex-escape': 'error',\n\t\t'unicorn/no-immediate-mutation': 'error',\n\t\t'unicorn/no-instanceof-array': 'error',\n\t\t'unicorn/no-instanceof-builtins': 'error',\n\t\t'unicorn/no-invalid-fetch-options': 'error',\n\t\t'unicorn/no-invalid-remove-event-listener': 'error',\n\t\t'unicorn/no-length-as-slice-end': 'error',\n\t\t'unicorn/no-lonely-if': 'warn',\n\t\t'unicorn/no-magic-array-flat-depth': 'error',\n\t\t'unicorn/no-negation-in-equality-check': 'error',\n\t\t'unicorn/no-nested-ternary': 'error',\n\t\t'unicorn/no-new-array': 'error',\n\t\t'unicorn/no-new-buffer': 'error',\n\t\t'unicorn/no-null': 'off',\n\t\t'unicorn/no-object-as-default-parameter': 'error',\n\t\t'unicorn/no-process-exit': 'error',\n\t\t'unicorn/no-single-promise-in-promise-methods': 'off',\n\t\t'unicorn/no-static-only-class': 'error',\n\t\t'unicorn/no-thenable': 'error',\n\t\t'unicorn/no-this-assignment': 'error',\n\t\t'unicorn/no-typeof-undefined': [\n\t\t\t'error',\n\t\t\t{ checkGlobalVariables: true },\n\t\t],\n\t\t'unicorn/no-unnecessary-array-flat-depth': 'error',\n\t\t'unicorn/no-unnecessary-array-splice-count': 'error',\n\t\t'unicorn/no-unnecessary-await': 'error',\n\t\t'unicorn/no-unnecessary-slice-end': 'error',\n\t\t'unicorn/no-unreadable-array-destructuring': 'error',\n\t\t'unicorn/no-unreadable-iife': 'error',\n\t\t'unicorn/no-useless-collection-argument': 'error',\n\t\t'unicorn/no-useless-error-capture-stack-trace': 'error',\n\t\t'unicorn/no-useless-fallback-in-spread': 'error',\n\t\t'unicorn/no-useless-length-check': 'error',\n\t\t'unicorn/no-useless-promise-resolve-reject': 'error',\n\t\t'unicorn/no-useless-spread': 'error',\n\t\t'unicorn/no-useless-switch-case': 'error',\n\t\t'unicorn/no-useless-undefined': 'off',\n\t\t'unicorn/no-zero-fractions': 'error',\n\t\t'unicorn/number-literal-case': 'error',\n\t\t'unicorn/numeric-separators-style': [\n\t\t\t'error',\n\t\t\t{ onlyIfContainsSeparator: true },\n\t\t],\n\t\t'unicorn/prefer-add-event-listener': 'error',\n\t\t'unicorn/prefer-array-find': 'error',\n\t\t'unicorn/prefer-array-flat': 'error',\n\t\t'unicorn/prefer-array-flat-map': 'error',\n\t\t'unicorn/prefer-array-index-of': 'error',\n\t\t'unicorn/prefer-array-some': 'error',\n\t\t'unicorn/prefer-at': 'error',\n\t\t'unicorn/prefer-bigint-literals': 'off',\n\t\t'unicorn/prefer-blob-reading-methods': 'error',\n\t\t'unicorn/prefer-class-fields': 'error',\n\t\t'unicorn/prefer-classlist-toggle': 'error',\n\t\t'unicorn/prefer-code-point': 'error',\n\t\t'unicorn/prefer-date-now': 'error',\n\t\t'unicorn/prefer-default-parameters': 'error',\n\t\t'unicorn/prefer-dom-node-append': 'error',\n\t\t'unicorn/prefer-dom-node-dataset': 'error',\n\t\t'unicorn/prefer-dom-node-remove': 'error',\n\t\t'unicorn/prefer-dom-node-text-content': 'error',\n\t\t'unicorn/prefer-event-target': 'error',\n\t\t'unicorn/prefer-global-this': 'error',\n\t\t'unicorn/prefer-import-meta-properties': 'error',\n\t\t'unicorn/prefer-includes': 'off',\n\t\t'unicorn/prefer-keyboard-event-key': 'error',\n\t\t'unicorn/prefer-logical-operator-over-ternary': 'error',\n\t\t'unicorn/prefer-math-min-max': 'error',\n\t\t'unicorn/prefer-math-trunc': 'error',\n\t\t'unicorn/prefer-modern-dom-apis': 'error',\n\t\t'unicorn/prefer-modern-math-apis': 'error',\n\t\t'unicorn/prefer-module': 'error',\n\t\t'unicorn/prefer-native-coercion-functions': 'error',\n\t\t'unicorn/prefer-negative-index': 'error',\n\t\t'unicorn/prefer-node-protocol': 'error',\n\t\t'unicorn/prefer-number-properties': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tcheckInfinity: true,\n\t\t\t\tcheckNaN: true,\n\t\t\t},\n\t\t],\n\t\t'unicorn/prefer-object-from-entries': 'error',\n\t\t'unicorn/prefer-optional-catch-binding': 'error',\n\t\t'unicorn/prefer-prototype-methods': 'error',\n\t\t'unicorn/prefer-query-selector': 'error',\n\t\t'unicorn/prefer-reflect-apply': 'error',\n\t\t'unicorn/prefer-regexp-test': 'error',\n\t\t'unicorn/prefer-response-static-json': 'error',\n\t\t'unicorn/prefer-set-has': 'error',\n\t\t'unicorn/prefer-set-size': 'error',\n\t\t'unicorn/prefer-spread': 'warn',\n\t\t'unicorn/prefer-string-raw': 'error',\n\t\t'unicorn/prefer-string-replace-all': 'error',\n\t\t'unicorn/prefer-string-slice': 'error',\n\t\t'unicorn/prefer-string-starts-ends-with': 'warn',\n\t\t'unicorn/prefer-string-trim-start-end': 'error',\n\t\t'unicorn/prefer-structured-clone': 'off',\n\t\t'unicorn/prefer-ternary': ['error', 'always'],\n\t\t'unicorn/prefer-top-level-await': 'error',\n\t\t'unicorn/prefer-type-error': 'error',\n\t\t'unicorn/relative-url-style': ['error', 'never'],\n\t\t'unicorn/require-array-join-separator': 'error',\n\t\t'unicorn/require-module-attributes': 'error',\n\t\t'unicorn/require-module-specifiers': 'error',\n\t\t'unicorn/require-number-to-fixed-digits-argument': 'error',\n\t\t'unicorn/require-post-message-target-origin': 'error',\n\t\t'unicorn/switch-case-braces': ['error', 'avoid'],\n\t\t'unicorn/switch-case-break-position': 'error',\n\t\t'unicorn/text-encoding-identifier-case': 'error',\n\t\t'unicorn/throw-new-error': 'error',\n\t\t'vitest/consistent-each-for': 'off',\n\t\t'vitest/consistent-test-filename': 'off',\n\t\t'vitest/consistent-vitest-vi': 'off',\n\t\t'vitest/hoisted-apis-on-top': 'off',\n\t\t'vitest/no-conditional-tests': 'off',\n\t\t'vitest/no-import-node-test': 'off',\n\t\t'vitest/no-importing-vitest-globals': 'off',\n\t\t'vitest/prefer-called-exactly-once-with': 'off',\n\t\t'vitest/prefer-called-once': 'off',\n\t\t'vitest/prefer-called-times': 'off',\n\t\t'vitest/prefer-describe-function-title': 'off',\n\t\t'vitest/prefer-expect-type-of': 'off',\n\t\t'vitest/prefer-import-in-mock': 'off',\n\t\t'vitest/prefer-importing-vitest-globals': 'off',\n\t\t'vitest/prefer-strict-boolean-matchers': 'off',\n\t\t'vitest/prefer-to-be-falsy': 'off',\n\t\t'vitest/prefer-to-be-object': 'off',\n\t\t'vitest/prefer-to-be-truthy': 'off',\n\t\t'vitest/require-awaited-expect-poll': 'off',\n\t\t'vitest/require-local-test-context-for-concurrent-snapshots': 'off',\n\t\t'vitest/require-mock-type-parameters': 'off',\n\t\t'vitest/require-test-timeout': 'off',\n\t\t'vitest/warn-todo': 'off',\n\t},\n};\n\nexport default config;\n","import type { LinterConfigOverrideEntry } from '@standard-config/utilities/types';\n\nconst config: LinterConfigOverrideEntry = {\n\trules: {\n\t\t'import/no-anonymous-default-export': ['error', { allowObject: true }],\n\t\t'import/no-unassigned-import': 'off',\n\t\t'import/unambiguous': 'off',\n\t\t'typescript/no-useless-empty-export': 'off',\n\t\t'unicorn/no-empty-file': 'off',\n\t},\n};\n\nexport default config;\n","import type { LinterConfigOverrideEntry } from '@standard-config/utilities/types';\n\nconst config: LinterConfigOverrideEntry = {\n\tplugins: [\n\t\t/* prettier-ignore */\n\t\t'jsx-a11y',\n\t\t'react',\n\t\t'react-perf',\n\t],\n\trules: {\n\t\t'jsx-a11y/alt-text': 'error',\n\t\t'jsx-a11y/anchor-ambiguous-text': 'error',\n\t\t'jsx-a11y/anchor-has-content': 'error',\n\t\t'jsx-a11y/anchor-is-valid': 'error',\n\t\t'jsx-a11y/aria-activedescendant-has-tabindex': 'error',\n\t\t'jsx-a11y/aria-props': 'error',\n\t\t'jsx-a11y/aria-proptypes': 'error',\n\t\t'jsx-a11y/aria-role': 'error',\n\t\t'jsx-a11y/aria-unsupported-elements': 'error',\n\t\t'jsx-a11y/autocomplete-valid': 'error',\n\t\t'jsx-a11y/click-events-have-key-events': 'warn',\n\t\t'jsx-a11y/heading-has-content': 'error',\n\t\t'jsx-a11y/html-has-lang': 'error',\n\t\t'jsx-a11y/iframe-has-title': 'error',\n\t\t'jsx-a11y/img-redundant-alt': 'off',\n\t\t'jsx-a11y/label-has-associated-control': 'error',\n\t\t'jsx-a11y/lang': 'error',\n\t\t'jsx-a11y/media-has-caption': 'off',\n\t\t'jsx-a11y/mouse-events-have-key-events': 'warn',\n\t\t'jsx-a11y/no-access-key': 'error',\n\t\t'jsx-a11y/no-aria-hidden-on-focusable': 'error',\n\t\t'jsx-a11y/no-autofocus': 'error',\n\t\t'jsx-a11y/no-distracting-elements': 'error',\n\t\t'jsx-a11y/no-noninteractive-tabindex': 'error',\n\t\t'jsx-a11y/no-redundant-roles': 'error',\n\t\t'jsx-a11y/no-static-element-interactions': 'error',\n\t\t'jsx-a11y/prefer-tag-over-role': 'error',\n\t\t'jsx-a11y/role-has-required-aria-props': 'error',\n\t\t'jsx-a11y/role-supports-aria-props': 'error',\n\t\t'jsx-a11y/scope': 'error',\n\t\t'jsx-a11y/tabindex-no-positive': 'error',\n\t\t'react-perf/jsx-no-jsx-as-prop': 'off',\n\t\t'react-perf/jsx-no-new-array-as-prop': 'error',\n\t\t'react-perf/jsx-no-new-function-as-prop': 'off',\n\t\t'react-perf/jsx-no-new-object-as-prop': 'off',\n\t\t'react/button-has-type': 'error',\n\t\t'react/checked-requires-onchange-or-readonly': 'error',\n\t\t'react/display-name': 'off',\n\t\t'react/exhaustive-deps': 'error',\n\t\t'react/forbid-dom-props': 'off',\n\t\t'react/forbid-elements': 'off',\n\t\t'react/forward-ref-uses-ref': 'off',\n\t\t'react/hook-use-state': 'error',\n\t\t'react/iframe-missing-sandbox': 'off',\n\t\t'react/jsx-boolean-value': 'error',\n\t\t'react/jsx-curly-brace-presence': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tchildren: 'never',\n\t\t\t\tpropElementValues: 'always',\n\t\t\t\tprops: 'never',\n\t\t\t},\n\t\t],\n\t\t'react/jsx-filename-extension': ['error', { extensions: ['.tsx'] }],\n\t\t'react/jsx-fragments': 'error',\n\t\t'react/jsx-handler-names': 'error',\n\t\t'react/jsx-key': 'error',\n\t\t'react/jsx-max-depth': 'off',\n\t\t'react/jsx-no-comment-textnodes': 'error',\n\t\t'react/jsx-no-constructed-context-values': 'error',\n\t\t'react/jsx-no-duplicate-props': 'error',\n\t\t'react/jsx-no-script-url': 'error',\n\t\t'react/jsx-no-target-blank': [\n\t\t\t'error',\n\t\t\t{ warnOnSpreadAttributes: true },\n\t\t],\n\t\t'react/jsx-no-undef': 'error',\n\t\t'react/jsx-no-useless-fragment': 'error',\n\t\t'react/jsx-pascal-case': 'error',\n\t\t'react/jsx-props-no-spread-multi': 'error',\n\t\t'react/jsx-props-no-spreading': 'off',\n\t\t'react/no-array-index-key': 'error',\n\t\t'react/no-children-prop': 'error',\n\t\t'react/no-clone-element': 'off',\n\t\t'react/no-danger': 'error',\n\t\t'react/no-danger-with-children': 'error',\n\t\t'react/no-did-mount-set-state': 'off',\n\t\t'react/no-direct-mutation-state': 'off',\n\t\t'react/no-find-dom-node': 'off',\n\t\t'react/no-is-mounted': 'off',\n\t\t'react/no-multi-comp': 'off',\n\t\t'react/no-namespace': 'error',\n\t\t'react/no-react-children': 'off',\n\t\t'react/no-redundant-should-component-update': 'off',\n\t\t'react/no-render-return-value': 'off',\n\t\t'react/no-set-state': 'off',\n\t\t'react/no-string-refs': 'off',\n\t\t'react/no-this-in-sfc': 'off',\n\t\t'react/no-unescaped-entities': 'error',\n\t\t'react/no-unknown-property': 'error',\n\t\t'react/no-unsafe': 'off',\n\t\t'react/no-will-update-set-state': 'off',\n\t\t'react/only-export-components': 'off',\n\t\t'react/prefer-es6-class': 'off',\n\t\t'react/prefer-function-component': 'off',\n\t\t'react/react-in-jsx-scope': 'off',\n\t\t'react/require-render-return': 'off',\n\t\t'react/rules-of-hooks': 'error',\n\t\t'react/self-closing-comp': 'error',\n\t\t'react/state-in-constructor': 'off',\n\t\t'react/style-prop-object': 'error',\n\t\t'react/void-dom-elements-no-children': 'error',\n\t},\n};\n\nexport default config;\n","import type { LinterConfigOverrideEntry } from '@standard-config/utilities/types';\n\nconst config: LinterConfigOverrideEntry = {\n\trules: {\n\t\t'jsx-a11y/alt-text': 'off',\n\t\t'jsx-a11y/anchor-ambiguous-text': 'off',\n\t\t'jsx-a11y/anchor-has-content': 'off',\n\t\t'jsx-a11y/anchor-is-valid': 'off',\n\t\t'jsx-a11y/click-events-have-key-events': 'off',\n\t\t'jsx-a11y/heading-has-content': 'off',\n\t\t'jsx-a11y/html-has-lang': 'off',\n\t\t'jsx-a11y/iframe-has-title': 'off',\n\t\t'jsx-a11y/label-has-associated-control': 'off',\n\t\t'jsx-a11y/lang': 'off',\n\t\t'jsx-a11y/mouse-events-have-key-events': 'off',\n\t\t'jsx-a11y/no-access-key': 'off',\n\t\t'jsx-a11y/no-autofocus': 'off',\n\t\t'jsx-a11y/no-distracting-elements': 'off',\n\t\t'jsx-a11y/no-noninteractive-tabindex': 'off',\n\t\t'jsx-a11y/no-redundant-roles': 'off',\n\t\t'jsx-a11y/no-static-element-interactions': 'off',\n\t\t'jsx-a11y/prefer-tag-over-role': 'off',\n\t\t'jsx-a11y/scope': 'off',\n\t\t'jsx-a11y/tabindex-no-positive': 'off',\n\t\t'react-perf/jsx-no-new-array-as-prop': 'off',\n\t\t'react/button-has-type': 'off',\n\t\t'react/checked-requires-onchange-or-readonly': 'off',\n\t\t'react/jsx-no-target-blank': 'off',\n\t\t'react/jsx-no-useless-fragment': 'off',\n\t\t'react/no-array-index-key': 'off',\n\t\t'react/no-children-prop': 'off',\n\t\t'react/no-danger': 'off',\n\t},\n};\n\nexport default config;\n","export default function clone<T>(value: T): T {\n\ttry {\n\t\t/* oxlint-disable-next-line eslint/no-param-reassign */\n\t\tvalue = structuredClone(value);\n\t} catch {}\n\n\treturn value;\n}\n","/* oxlint-disable eslint/no-unsafe-member-access */\n\nimport type { OxlintConfig } from 'oxlint';\nimport type {\n\tLinterConfigEntry,\n\tLinterConfigOverrideEntry,\n} from '../types/index.ts';\nimport clone from '../clone/index.ts';\n\nexport default function mergeConfig(\n\tbaseConfig: OxlintConfig,\n\textensionConfig:\n\t\t| LinterConfigEntry\n\t\t| LinterConfigOverrideEntry\n\t\t| OxlintConfig\n): OxlintConfig {\n\tif (!(isObject(baseConfig) && isObject(extensionConfig))) {\n\t\tthrow new TypeError(\n\t\t\t'Standard Config error: expected config to be an object'\n\t\t);\n\t}\n\n\tconst result = clone(baseConfig);\n\n\tfor (const [key, value] of Object.entries(\n\t\tclone(extensionConfig)\n\t) as ReadonlyArray<[keyof OxlintConfig, unknown]>) {\n\t\tif (value === undefined || value === null) {\n\t\t\t/* oxlint-disable-next-line typescript/no-dynamic-delete */\n\t\t\tdelete result[key];\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (result[key] === undefined) {\n\t\t\t(result as any)[key] = value;\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (isArray(value) && isArray(result[key])) {\n\t\t\tconst values = [...new Set([...result[key], ...value])];\n\n\t\t\t(result as any)[key] =\n\t\t\t\tkey === 'plugins'\n\t\t\t\t\t? (values as ReadonlyArray<string>).toSorted()\n\t\t\t\t\t: values;\n\n\t\t\tcontinue;\n\t\t}\n\n\t\t(result as any)[key] = { ...result[key], ...value };\n\t}\n\n\treturn result;\n}\n\nfunction isArray(value: unknown): value is unknown[] {\n\treturn Array.isArray(value);\n}\n\nfunction isObject(value: unknown): value is Record<string, unknown> {\n\treturn typeof value === 'object' && value !== null;\n}\n","import type { LinterConfigOverrideEntry } from '@standard-config/utilities/types';\nimport { configReactTestFiles } from '@standard-config/oxlint-react';\nimport mergeConfig from '@standard-config/utilities/merge-config';\n\nconst config: LinterConfigOverrideEntry = mergeConfig(configReactTestFiles, {\n\trules: {\n\t\t'eslint/no-empty-function': 'off',\n\t\t'eslint/no-param-reassign': 'off',\n\t\t'eslint/no-promise-executor-return': 'off',\n\t\t'import/no-unassigned-import': 'off',\n\t\t'import/unambiguous': 'off',\n\t\t'jest/expect-expect': 'warn',\n\t\t'jest/no-commented-out-tests': 'warn',\n\t\t'jest/no-conditional-expect': 'error',\n\t\t'jest/no-conditional-in-test': 'error',\n\t\t'jest/no-confusing-set-timeout': 'error',\n\t\t'jest/no-deprecated-functions': 'error',\n\t\t'jest/no-disabled-tests': 'warn',\n\t\t'jest/no-duplicate-hooks': 'warn',\n\t\t'jest/no-export': 'error',\n\t\t'jest/no-focused-tests': 'warn',\n\t\t'jest/no-identical-title': 'warn',\n\t\t'jest/no-interpolation-in-snapshots': 'error',\n\t\t'jest/no-mocks-import': 'error',\n\t\t'jest/no-standalone-expect': 'error',\n\t\t'jest/no-test-return-statement': 'error',\n\t\t'jest/no-unneeded-async-expect-function': 'error',\n\t\t'jest/padding-around-after-all-blocks': 'error',\n\t\t'jest/padding-around-test-blocks': 'error',\n\t\t'jest/prefer-comparison-matcher': 'error',\n\t\t'jest/prefer-each': 'error',\n\t\t'jest/prefer-equality-matcher': 'error',\n\t\t'jest/prefer-expect-resolves': 'error',\n\t\t'jest/prefer-hooks-in-order': 'warn',\n\t\t'jest/prefer-hooks-on-top': 'warn',\n\t\t'jest/prefer-jest-mocked': 'error',\n\t\t'jest/prefer-mock-promise-shorthand': 'error',\n\t\t'jest/prefer-mock-return-shorthand': 'error',\n\t\t'jest/prefer-strict-equal': 'error',\n\t\t'jest/prefer-to-be': 'error',\n\t\t'jest/prefer-to-contain': 'error',\n\t\t'jest/prefer-to-have-been-called': 'error',\n\t\t'jest/prefer-to-have-been-called-times': 'error',\n\t\t'jest/prefer-to-have-length': 'error',\n\t\t'jest/prefer-todo': 'error',\n\t\t'jest/require-to-throw-message': 'error',\n\t\t'jest/valid-describe-callback': 'error',\n\t\t'jest/valid-expect': 'error',\n\t\t'jest/valid-expect-in-promise': 'error',\n\t\t'jest/valid-title': 'error',\n\t\t'oxc/approx-constant': 'off',\n\t\t'oxc/no-accumulating-spread': 'off',\n\t\t'oxc/no-map-spread': 'off',\n\t\t'promise/catch-or-return': 'off',\n\t\t'promise/no-callback-in-promise': 'off',\n\t\t'promise/no-promise-in-callback': 'off',\n\t\t'promise/no-return-wrap': 'off',\n\t\t'promise/prefer-await-to-then': 'off',\n\t\t'typescript/ban-ts-comment': 'off',\n\t\t'typescript/explicit-module-boundary-types': 'off',\n\t\t'typescript/no-base-to-string': 'off',\n\t\t'typescript/no-confusing-void-expression': 'off',\n\t\t'typescript/no-extraneous-class': 'off',\n\t\t'typescript/no-restricted-types': 'off',\n\t\t'typescript/no-unsafe-argument': 'off',\n\t\t'typescript/no-unsafe-assignment': 'off',\n\t\t'typescript/no-unsafe-call': 'off',\n\t\t'typescript/no-unsafe-declaration-merging': 'off',\n\t\t'typescript/no-unsafe-enum-comparison': 'off',\n\t\t'typescript/no-unsafe-function-type': 'off',\n\t\t'typescript/no-unsafe-member-access': 'off',\n\t\t'typescript/no-unsafe-return': 'off',\n\t\t'typescript/no-unsafe-unary-minus': 'off',\n\t\t'typescript/only-throw-error': 'off',\n\t\t'typescript/restrict-template-expressions': 'off',\n\t\t'typescript/strict-void-return': 'off',\n\t\t'unicorn/consistent-function-scoping': 'off',\n\t\t'unicorn/error-message': 'off',\n\t\t'unicorn/no-empty-file': 'off',\n\t\t'unicorn/no-useless-promise-resolve-reject': 'off',\n\t\t'vitest/consistent-each-for': [\n\t\t\t'warn',\n\t\t\t{\n\t\t\t\ttest: 'each',\n\t\t\t\tdescribe: 'each',\n\t\t\t\tit: 'each',\n\t\t\t\tsuite: 'each',\n\t\t\t},\n\t\t],\n\t\t'vitest/consistent-vitest-vi': 'error',\n\t\t'vitest/hoisted-apis-on-top': 'error',\n\t\t'vitest/no-import-node-test': 'error',\n\t\t'vitest/prefer-called-exactly-once-with': 'warn',\n\t\t'vitest/prefer-called-times': 'error',\n\t\t'vitest/prefer-describe-function-title': 'error',\n\t\t'vitest/prefer-expect-type-of': 'error',\n\t\t'vitest/prefer-importing-vitest-globals': 'error',\n\t\t'vitest/prefer-strict-boolean-matchers': 'error',\n\t\t'vitest/prefer-to-be-object': 'error',\n\t\t'vitest/require-awaited-expect-poll': 'error',\n\t\t'vitest/require-local-test-context-for-concurrent-snapshots': 'error',\n\t\t'vitest/warn-todo': 'warn',\n\t},\n});\n\nexport default config;\n","import type { LinterConfigOverrideEntry } from '@standard-config/utilities/types';\n\nconst config: LinterConfigOverrideEntry = {\n\trules: {\n\t\t'import/no-empty-named-blocks': 'off',\n\t\t'import/no-unassigned-import': 'off',\n\t\t'import/unambiguous': 'off',\n\t\t'typescript/consistent-type-definitions': 'off',\n\t\t'typescript/no-empty-object-type': 'off',\n\t\t'typescript/no-restricted-types': 'off',\n\t\t'typescript/no-useless-empty-export': 'off',\n\t\t'unicorn/require-module-specifiers': 'off',\n\t},\n};\n\nexport default config;\n","import type { StandardConfig } from '@standard-config/utilities/types';\nimport type { OxlintConfig } from 'oxlint';\nimport { configReactBase } from '@standard-config/oxlint-react';\nimport mergeConfig from '@standard-config/utilities/merge-config';\nimport { defineConfig as oxlintDefineConfig } from 'oxlint';\nimport configBase from '../config-base/index.ts';\nimport configConfigFiles from '../config-config-files/index.ts';\nimport configTestFiles from '../config-test-files/index.ts';\nimport configTypeDefinitions from '../config-type-definitions/index.ts';\n\nexport default function defineConfig(\n\t...configs: StandardConfig[]\n): OxlintConfig {\n\tlet extensionConfig: OxlintConfig = {};\n\tlet includeReactConfig = false;\n\n\tfor (const config of configs) {\n\t\tconst { react, ...otherConfig } = config;\n\n\t\textensionConfig = mergeConfig(extensionConfig, otherConfig);\n\n\t\tif (react !== undefined) {\n\t\t\tincludeReactConfig = react;\n\t\t}\n\t}\n\n\tconst baseConfig: OxlintConfig = {\n\t\t...(includeReactConfig\n\t\t\t? mergeConfig(configBase, configReactBase)\n\t\t\t: configBase),\n\n\t\toverrides: [\n\t\t\t{\n\t\t\t\tfiles: [\n\t\t\t\t\t/* prettier-ignore */\n\t\t\t\t\t'**/*.d.{ts,cts,mts}',\n\t\t\t\t\t'**/*.test-d.{ts,cts,mts}',\n\t\t\t\t],\n\t\t\t\t...configTypeDefinitions,\n\t\t\t},\n\t\t\t{\n\t\t\t\tfiles: [\n\t\t\t\t\t'**/*.test.{ts,tsx,cts,mts}',\n\t\t\t\t\t'**/*.test-d.{ts,cts,mts}',\n\t\t\t\t],\n\t\t\t\t...configTestFiles,\n\t\t\t},\n\t\t\t{\n\t\t\t\tfiles: [\n\t\t\t\t\t/* prettier-ignore */\n\t\t\t\t\t'**/*.config.{ts,cts,mts}',\n\t\t\t\t\t'**/*.setup.{ts,cts,mts}',\n\t\t\t\t],\n\t\t\t\t...configConfigFiles,\n\t\t\t},\n\t\t],\n\t};\n\n\tconst extendedConfig = mergeConfig(baseConfig, extensionConfig);\n\treturn oxlintDefineConfig(extendedConfig);\n}\n","import type { StandardConfig } from '@standard-config/utilities/types';\nimport type { OxlintConfig } from 'oxlint';\nimport defineConfig from '../define-config/index.ts';\n\n/**\n * Alias for `defineConfig`.\n */\nexport default function defineOxlintConfig(\n\t...configs: StandardConfig[]\n): OxlintConfig {\n\treturn defineConfig(...configs);\n}\n"],"mappings":";;AAEA,MAAM,SAA4B;CACjC,SAAS;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD,KAAK;EACJ,SAAS;EACT,MAAM;EACN;CACD,SAAS;EACR,+BAA+B;EAC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qC;CACrC,EACD;;;ACHD,SAAwB,aACvB,GAAG,SACY;CACf,IAAI,kBAAgC,EAAE;CACtC,IAAI,qBAAqB;AAEzB,MAAK,MAAM,UAAU,SAAS;EAC7B,MAAM,EAAE,OAAO,GAAG,gBAAgB;AAElC,oBAAkB,YAAY,iBAAiB,YAAY;AAE3D,MAAI,UAAU,KAAA,EACb,sBAAqB;;AAqCvB,QAAOC,eADgB,YAhCU;EAChC,GAAI,qBACD,YAAYC,QAAYC,SAAgB,GACxCD;EAEH,WAAW;GACV;IACC,OAAO,CAEN,uBACA,2BACA;IACD,GAAGE;IACH;GACD;IACC,OAAO,CACN,8BACA,2BACA;IACD,GAAGC;IACH;GACD;IACC,OAAO,CAEN,4BACA,0BACA;IACD,GAAGC;IACH;GACD;EACD,EAE8C,gBAAgB,CACtB;;;;;;;ACpD1C,SAAwB,mBACvB,GAAG,SACY;AACf,QAAO,aAAa,GAAG,QAAQ"}
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["config","config","config","config","configBase","configTypeDefinitions","configTestFiles","configConfigFiles","configCore","oxlintDefineConfig"],"sources":["../src/config-base/index.ts","../src/config-config-files/index.ts","../../utilities/src/constants/index.ts","../../utilities/src/clone/index.ts","../../utilities/src/merge-config/index.ts","../src/config-test-files/index.ts","../src/config-type-definitions/index.ts","../src/config-default/index.ts","../src/define-config/index.ts","../src/define-oxlint-config/index.ts","../../utilities/src/resolve-plugin/index.ts"],"sourcesContent":["import type { OxlintConfigCoreBaseEntry } from '@standard-config/utilities/types';\n\n/**\n * Base config entry containing core rules. No overrides included.\n */\nconst config: OxlintConfigCoreBaseEntry = {\n\tplugins: [\n\t\t'eslint',\n\t\t'import',\n\t\t'jest',\n\t\t'node',\n\t\t'oxc',\n\t\t'promise',\n\t\t'typescript',\n\t\t'unicorn',\n\t\t'vitest',\n\t],\n\tenv: {\n\t\tbrowser: true,\n\t\tnode: true,\n\t},\n\toptions: {\n\t\treportUnusedDisableDirectives: 'warn',\n\t\ttypeAware: true,\n\t},\n\tsettings: {\n\t\tvitest: {\n\t\t\ttypecheck: true,\n\t\t},\n\t},\n\trules: {\n\t\t'eslint/accessor-pairs': ['error', { enforceForClassMembers: true }],\n\t\t'eslint/array-callback-return': ['error', { allowImplicit: true }],\n\t\t'eslint/arrow-body-style': 'off',\n\t\t'eslint/block-scoped-var': 'off',\n\t\t'eslint/capitalized-comments': 'off',\n\t\t'eslint/class-methods-use-this': 'off',\n\t\t'eslint/complexity': 'off',\n\t\t'eslint/constructor-super': 'off',\n\t\t'eslint/curly': ['error', 'all'],\n\t\t'eslint/default-case': 'off',\n\t\t'eslint/default-case-last': 'error',\n\t\t'eslint/default-param-last': 'error',\n\t\t'eslint/eqeqeq': 'error',\n\t\t'eslint/for-direction': 'error',\n\t\t'eslint/func-name-matching': [\n\t\t\t'error',\n\t\t\t'never',\n\t\t\t{ considerPropertyDescriptor: true },\n\t\t],\n\t\t'eslint/func-names': 'off',\n\t\t'eslint/func-style': [\n\t\t\t'error',\n\t\t\t'declaration',\n\t\t\t{ allowArrowFunctions: true },\n\t\t],\n\t\t'eslint/getter-return': 'error',\n\t\t'eslint/grouped-accessor-pairs': ['error', 'getBeforeSet'],\n\t\t'eslint/guard-for-in': 'error',\n\t\t'eslint/id-length': 'off',\n\t\t'eslint/id-match': 'off',\n\t\t'eslint/init-declarations': 'off',\n\t\t'eslint/logical-assignment-operators': 'off',\n\t\t'eslint/max-classes-per-file': 'off',\n\t\t'eslint/max-depth': 'off',\n\t\t'eslint/max-lines': 'off',\n\t\t'eslint/max-lines-per-function': 'off',\n\t\t'eslint/max-nested-callbacks': 'off',\n\t\t'eslint/max-params': 'off',\n\t\t'eslint/max-statements': 'off',\n\t\t'eslint/new-cap': 'off',\n\t\t'eslint/no-alert': 'off',\n\t\t'eslint/no-array-constructor': 'error',\n\t\t'eslint/no-async-promise-executor': 'error',\n\t\t'eslint/no-await-in-loop': 'off',\n\t\t'eslint/no-bitwise': 'error',\n\t\t'eslint/no-caller': 'error',\n\t\t'eslint/no-case-declarations': 'error',\n\t\t'eslint/no-class-assign': 'off',\n\t\t'eslint/no-compare-neg-zero': 'error',\n\t\t'eslint/no-cond-assign': 'error',\n\t\t'eslint/no-console': 'warn',\n\t\t'eslint/no-const-assign': 'off',\n\t\t'eslint/no-constant-binary-expression': 'error',\n\t\t'eslint/no-constant-condition': 'off',\n\t\t'eslint/no-constructor-return': 'error',\n\t\t'eslint/no-continue': 'off',\n\t\t'eslint/no-control-regex': 'error',\n\t\t'eslint/no-debugger': 'error',\n\t\t'eslint/no-delete-var': 'off',\n\t\t'eslint/no-div-regex': 'off',\n\t\t'eslint/no-dupe-class-members': 'off',\n\t\t'eslint/no-dupe-else-if': 'error',\n\t\t'eslint/no-dupe-keys': 'off',\n\t\t'eslint/no-duplicate-case': 'error',\n\t\t'eslint/no-duplicate-imports': 'off',\n\t\t'eslint/no-else-return': ['error', { allowElseIf: false }],\n\t\t'eslint/no-empty': ['error', { allowEmptyCatch: true }],\n\t\t'eslint/no-empty-character-class': 'error',\n\t\t'eslint/no-empty-function': 'warn',\n\t\t'eslint/no-empty-pattern': 'error',\n\t\t'eslint/no-empty-static-block': 'error',\n\t\t'eslint/no-eq-null': 'error',\n\t\t'eslint/no-eval': 'off',\n\t\t'eslint/no-ex-assign': 'error',\n\t\t'eslint/no-extend-native': 'error',\n\t\t'eslint/no-extra-bind': 'warn',\n\t\t'eslint/no-extra-boolean-cast': 'error',\n\t\t'eslint/no-extra-label': 'error',\n\t\t'eslint/no-fallthrough': 'off',\n\t\t'eslint/no-func-assign': 'off',\n\t\t'eslint/no-global-assign': 'error',\n\t\t'eslint/no-implicit-coercion': 'error',\n\t\t'eslint/no-implicit-globals': 'error',\n\t\t'eslint/no-implied-eval': 'error',\n\t\t'eslint/no-import-assign': 'off',\n\t\t'eslint/no-inline-comments': 'off',\n\t\t'eslint/no-inner-declarations': 'off',\n\t\t'eslint/no-invalid-regexp': 'error',\n\t\t'eslint/no-irregular-whitespace': 'off',\n\t\t'eslint/no-iterator': 'off',\n\t\t'eslint/no-label-var': 'off',\n\t\t'eslint/no-labels': 'off',\n\t\t'eslint/no-lone-blocks': 'off',\n\t\t'eslint/no-lonely-if': 'warn',\n\t\t'eslint/no-loop-func': 'error',\n\t\t'eslint/no-loss-of-precision': 'error',\n\t\t'eslint/no-magic-numbers': 'off',\n\t\t'eslint/no-misleading-character-class': 'error',\n\t\t'eslint/no-multi-assign': 'error',\n\t\t'eslint/no-multi-str': 'off',\n\t\t'eslint/no-negated-condition': 'off',\n\t\t'eslint/no-nested-ternary': 'off',\n\t\t'eslint/no-new': 'off',\n\t\t'eslint/no-new-func': 'error',\n\t\t'eslint/no-new-native-nonconstructor': 'off',\n\t\t'eslint/no-new-wrappers': 'error',\n\t\t'eslint/no-nonoctal-decimal-escape': 'error',\n\t\t'eslint/no-obj-calls': 'off',\n\t\t'eslint/no-object-constructor': 'error',\n\t\t'eslint/no-param-reassign': 'error',\n\t\t'eslint/no-plusplus': 'off',\n\t\t'eslint/no-promise-executor-return': 'error',\n\t\t'eslint/no-proto': 'error',\n\t\t'eslint/no-prototype-builtins': 'off',\n\t\t'eslint/no-redeclare': 'off',\n\t\t'eslint/no-regex-spaces': 'error',\n\t\t'eslint/no-restricted-exports': 'off',\n\t\t'eslint/no-restricted-globals': 'off',\n\t\t'eslint/no-restricted-imports': 'off',\n\t\t'eslint/no-restricted-properties': 'off',\n\t\t'eslint/no-return-assign': ['error', 'always'],\n\t\t'eslint/no-script-url': 'off',\n\t\t'eslint/no-self-assign': ['error', { props: true }],\n\t\t'eslint/no-self-compare': 'error',\n\t\t'eslint/no-sequences': 'error',\n\t\t'eslint/no-setter-return': 'off',\n\t\t'eslint/no-shadow': 'off',\n\t\t'eslint/no-shadow-restricted-names': 'error',\n\t\t'eslint/no-sparse-arrays': 'error',\n\t\t'eslint/no-template-curly-in-string': 'warn',\n\t\t'eslint/no-ternary': 'off',\n\t\t'eslint/no-this-before-super': 'off',\n\t\t'eslint/no-throw-literal': 'error',\n\t\t'eslint/no-unassigned-vars': 'error',\n\t\t'eslint/no-undef': 'off',\n\t\t'eslint/no-undefined': 'off',\n\t\t'eslint/no-underscore-dangle': 'off',\n\t\t'eslint/no-unexpected-multiline': 'off',\n\t\t'eslint/no-unmodified-loop-condition': 'error',\n\t\t'eslint/no-unneeded-ternary': 'warn',\n\t\t'eslint/no-unreachable': 'off',\n\t\t'eslint/no-unsafe-finally': 'error',\n\t\t'eslint/no-unsafe-negation': 'off',\n\t\t'eslint/no-unsafe-optional-chaining': [\n\t\t\t'error',\n\t\t\t{ disallowArithmeticOperators: true },\n\t\t],\n\t\t'eslint/no-unused-expressions': ['error', { enforceForJSX: true }],\n\t\t'eslint/no-unused-labels': 'error',\n\t\t'eslint/no-unused-private-class-members': 'error',\n\t\t'eslint/no-unused-vars': [\n\t\t\t'warn',\n\t\t\t{\n\t\t\t\targsIgnorePattern: '^_',\n\t\t\t\tcaughtErrorsIgnorePattern: '^_',\n\t\t\t\tdestructuredArrayIgnorePattern: '^_',\n\t\t\t\tvarsIgnorePattern: '^_',\n\t\t\t},\n\t\t],\n\t\t'eslint/no-use-before-define': 'off',\n\t\t'eslint/no-useless-assignment': 'warn',\n\t\t'eslint/no-useless-backreference': 'error',\n\t\t'eslint/no-useless-call': 'error',\n\t\t'eslint/no-useless-catch': 'error',\n\t\t'eslint/no-useless-computed-key': 'warn',\n\t\t'eslint/no-useless-concat': 'error',\n\t\t'eslint/no-useless-constructor': 'off',\n\t\t'eslint/no-useless-escape': 'warn',\n\t\t'eslint/no-useless-rename': 'warn',\n\t\t'eslint/no-useless-return': 'warn',\n\t\t'eslint/no-var': 'error',\n\t\t'eslint/no-void': 'off',\n\t\t'eslint/no-warning-comments': 'off',\n\t\t'eslint/no-with': 'error',\n\t\t'eslint/object-shorthand': ['error', 'always'],\n\t\t'eslint/operator-assignment': ['warn', 'always'],\n\t\t'eslint/prefer-arrow-callback': [\n\t\t\t'error',\n\t\t\t{ allowNamedFunctions: true },\n\t\t],\n\t\t'eslint/prefer-const': 'error',\n\t\t'eslint/prefer-destructuring': [\n\t\t\t'error',\n\t\t\t{ enforceForRenamedProperties: false },\n\t\t],\n\t\t'eslint/prefer-exponentiation-operator': 'warn',\n\t\t'eslint/prefer-named-capture-group': 'off',\n\t\t'eslint/prefer-numeric-literals': 'off',\n\t\t'eslint/prefer-object-has-own': 'error',\n\t\t'eslint/prefer-object-spread': 'error',\n\t\t'eslint/prefer-promise-reject-errors': 'off',\n\t\t'eslint/prefer-regex-literals': 'warn',\n\t\t'eslint/prefer-rest-params': 'error',\n\t\t'eslint/prefer-spread': 'warn',\n\t\t'eslint/prefer-template': 'error',\n\t\t'eslint/preserve-caught-error': 'error',\n\t\t'eslint/radix': 'error',\n\t\t'eslint/require-await': 'off',\n\t\t'eslint/require-unicode-regexp': 'off',\n\t\t'eslint/require-yield': 'error',\n\t\t'eslint/sort-imports': 'off',\n\t\t'eslint/sort-keys': 'off',\n\t\t'eslint/sort-vars': 'off',\n\t\t'eslint/symbol-description': 'error',\n\t\t'eslint/unicode-bom': ['error', 'never'],\n\t\t'eslint/use-isnan': 'error',\n\t\t'eslint/valid-typeof': ['error', { requireStringLiterals: false }],\n\t\t'eslint/vars-on-top': 'off',\n\t\t'eslint/yoda': ['error', 'never', { exceptRange: true }],\n\t\t'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],\n\t\t'import/default': 'error',\n\t\t'import/exports-last': 'off',\n\t\t'import/extensions': 'off',\n\t\t'import/first': 'error',\n\t\t'import/group-exports': 'off',\n\t\t'import/max-dependencies': 'off',\n\t\t'import/namespace': 'error',\n\t\t'import/newline-after-import': 'error',\n\t\t'import/no-absolute-path': 'error',\n\t\t'import/no-amd': 'off',\n\t\t'import/no-anonymous-default-export': 'error',\n\t\t'import/no-commonjs': ['error', { allowConditionalRequire: false }],\n\t\t'import/no-cycle': 'error',\n\t\t'import/no-default-export': 'off',\n\t\t'import/no-duplicates': 'error',\n\t\t'import/no-dynamic-require': 'off',\n\t\t'import/no-empty-named-blocks': 'error',\n\t\t'import/no-mutable-exports': 'error',\n\t\t'import/no-named-as-default': 'warn',\n\t\t'import/no-named-as-default-member': 'error',\n\t\t'import/no-named-default': 'warn',\n\t\t'import/no-named-export': 'off',\n\t\t'import/no-namespace': 'off',\n\t\t'import/no-nodejs-modules': 'off',\n\t\t'import/no-relative-parent-imports': 'off',\n\t\t'import/no-self-import': 'error',\n\t\t'import/no-unassigned-import': 'error',\n\t\t'import/no-webpack-loader-syntax': 'off',\n\t\t'import/prefer-default-export': 'off',\n\t\t'import/unambiguous': 'warn',\n\t\t'jest/consistent-test-it': 'off',\n\t\t'jest/expect-expect': 'off',\n\t\t'jest/max-expects': 'off',\n\t\t'jest/max-nested-describe': 'off',\n\t\t'jest/no-alias-methods': 'off',\n\t\t'jest/no-commented-out-tests': 'off',\n\t\t'jest/no-conditional-expect': 'off',\n\t\t'jest/no-conditional-in-test': 'off',\n\t\t'jest/no-confusing-set-timeout': 'off',\n\t\t'jest/no-deprecated-functions': 'off',\n\t\t'jest/no-disabled-tests': 'off',\n\t\t'jest/no-done-callback': 'off',\n\t\t'jest/no-duplicate-hooks': 'off',\n\t\t'jest/no-export': 'off',\n\t\t'jest/no-focused-tests': 'off',\n\t\t'jest/no-hooks': 'off',\n\t\t'jest/no-identical-title': 'off',\n\t\t'jest/no-interpolation-in-snapshots': 'off',\n\t\t'jest/no-jasmine-globals': 'off',\n\t\t'jest/no-large-snapshots': 'off',\n\t\t'jest/no-mocks-import': 'off',\n\t\t'jest/no-restricted-jest-methods': 'off',\n\t\t'jest/no-restricted-matchers': 'off',\n\t\t'jest/no-standalone-expect': 'off',\n\t\t'jest/no-test-prefixes': 'off',\n\t\t'jest/no-test-return-statement': 'off',\n\t\t'jest/no-unneeded-async-expect-function': 'off',\n\t\t'jest/no-untyped-mock-factory': 'off',\n\t\t'jest/padding-around-after-all-blocks': 'off',\n\t\t'jest/padding-around-test-blocks': 'off',\n\t\t'jest/prefer-called-with': 'off',\n\t\t'jest/prefer-comparison-matcher': 'off',\n\t\t'jest/prefer-each': 'off',\n\t\t'jest/prefer-ending-with-an-expect': 'off',\n\t\t'jest/prefer-equality-matcher': 'off',\n\t\t'jest/prefer-expect-assertions': 'off',\n\t\t'jest/prefer-expect-resolves': 'off',\n\t\t'jest/prefer-hooks-in-order': 'off',\n\t\t'jest/prefer-hooks-on-top': 'off',\n\t\t'jest/prefer-importing-jest-globals': 'off',\n\t\t'jest/prefer-jest-mocked': 'off',\n\t\t'jest/prefer-lowercase-title': 'off',\n\t\t'jest/prefer-mock-promise-shorthand': 'off',\n\t\t'jest/prefer-mock-return-shorthand': 'off',\n\t\t'jest/prefer-snapshot-hint': 'off',\n\t\t'jest/prefer-spy-on': 'off',\n\t\t'jest/prefer-strict-equal': 'off',\n\t\t'jest/prefer-to-be': 'off',\n\t\t'jest/prefer-to-contain': 'off',\n\t\t'jest/prefer-to-have-been-called': 'off',\n\t\t'jest/prefer-to-have-been-called-times': 'off',\n\t\t'jest/prefer-to-have-length': 'off',\n\t\t'jest/prefer-todo': 'off',\n\t\t'jest/require-hook': 'off',\n\t\t'jest/require-to-throw-message': 'off',\n\t\t'jest/require-top-level-describe': 'off',\n\t\t'jest/valid-describe-callback': 'off',\n\t\t'jest/valid-expect': 'off',\n\t\t'jest/valid-expect-in-promise': 'off',\n\t\t'jest/valid-title': 'off',\n\t\t'node/callback-return': 'off',\n\t\t'node/global-require': 'off',\n\t\t'node/handle-callback-err': ['error', 'error'],\n\t\t'node/no-exports-assign': 'off',\n\t\t'node/no-new-require': 'off',\n\t\t'node/no-path-concat': 'error',\n\t\t'node/no-process-env': 'off',\n\t\t'oxc/approx-constant': 'error',\n\t\t'oxc/bad-array-method-on-arguments': 'error',\n\t\t'oxc/bad-bitwise-operator': 'error',\n\t\t'oxc/bad-char-at-comparison': 'error',\n\t\t'oxc/bad-comparison-sequence': 'error',\n\t\t'oxc/bad-min-max-func': 'error',\n\t\t'oxc/bad-object-literal-comparison': 'error',\n\t\t'oxc/bad-replace-all-arg': 'error',\n\t\t'oxc/branches-sharing-code': 'warn',\n\t\t'oxc/const-comparisons': 'warn',\n\t\t'oxc/double-comparisons': 'error',\n\t\t'oxc/erasing-op': 'error',\n\t\t'oxc/misrefactored-assign-op': 'error',\n\t\t'oxc/missing-throw': 'error',\n\t\t'oxc/no-accumulating-spread': 'error',\n\t\t'oxc/no-async-await': 'off',\n\t\t'oxc/no-async-endpoint-handlers': 'off',\n\t\t'oxc/no-barrel-file': 'off',\n\t\t'oxc/no-const-enum': 'off',\n\t\t'oxc/no-map-spread': 'error',\n\t\t'oxc/no-optional-chaining': 'off',\n\t\t'oxc/no-rest-spread-properties': 'off',\n\t\t'oxc/no-this-in-exported-function': 'error',\n\t\t'oxc/number-arg-out-of-range': 'error',\n\t\t'oxc/only-used-in-recursion': 'error',\n\t\t'oxc/uninvoked-array-callback': 'error',\n\t\t'promise/always-return': 'error',\n\t\t'promise/avoid-new': 'off',\n\t\t'promise/catch-or-return': 'warn',\n\t\t'promise/no-callback-in-promise': 'warn',\n\t\t'promise/no-multiple-resolved': 'error',\n\t\t'promise/no-nesting': 'warn',\n\t\t'promise/no-new-statics': 'error',\n\t\t'promise/no-promise-in-callback': 'warn',\n\t\t'promise/no-return-in-finally': 'warn',\n\t\t'promise/no-return-wrap': ['error', { allowReject: true }],\n\t\t'promise/param-names': 'error',\n\t\t'promise/prefer-await-to-callbacks': 'off',\n\t\t'promise/prefer-await-to-then': 'error',\n\t\t'promise/prefer-catch': 'warn',\n\t\t'promise/spec-only': 'error',\n\t\t'promise/valid-params': 'error',\n\t\t'typescript/adjacent-overload-signatures': 'error',\n\t\t'typescript/array-type': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tdefault: 'array-simple',\n\t\t\t\treadonly: 'generic',\n\t\t\t},\n\t\t],\n\t\t'typescript/await-thenable': 'error',\n\t\t'typescript/ban-ts-comment': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\t'ts-check': true,\n\t\t\t\t'ts-expect-error': false,\n\t\t\t\t'ts-ignore': true,\n\t\t\t\t'ts-nocheck': true,\n\t\t\t},\n\t\t],\n\t\t'typescript/ban-tslint-comment': 'off',\n\t\t'typescript/ban-types': 'off',\n\t\t'typescript/class-literal-property-style': ['error', 'fields'],\n\t\t'typescript/consistent-generic-constructors': ['error', 'constructor'],\n\t\t'typescript/consistent-indexed-object-style': ['error', 'record'],\n\t\t'typescript/consistent-return': 'off',\n\t\t'typescript/consistent-type-assertions': [\n\t\t\t'error',\n\t\t\t{ assertionStyle: 'as' },\n\t\t],\n\t\t'typescript/consistent-type-definitions': ['error', 'type'],\n\t\t'typescript/consistent-type-exports': 'error',\n\t\t'typescript/consistent-type-imports': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tfixStyle: 'separate-type-imports',\n\t\t\t\tprefer: 'type-imports',\n\t\t\t},\n\t\t],\n\t\t'typescript/dot-notation': 'warn',\n\t\t'typescript/explicit-function-return-type': 'off',\n\t\t'typescript/explicit-member-accessibility': [\n\t\t\t'error',\n\t\t\t{ accessibility: 'no-public' },\n\t\t],\n\t\t'typescript/explicit-module-boundary-types': [\n\t\t\t'error',\n\t\t\t{ allowArgumentsExplicitlyTypedAsAny: true },\n\t\t],\n\t\t'typescript/method-signature-style': ['error', 'property'],\n\t\t'typescript/no-array-delete': 'off',\n\t\t'typescript/no-base-to-string': 'error',\n\t\t'typescript/no-confusing-non-null-assertion': 'error',\n\t\t'typescript/no-confusing-void-expression': [\n\t\t\t'error',\n\t\t\t{ ignoreArrowShorthand: true },\n\t\t],\n\t\t'typescript/no-deprecated': 'warn',\n\t\t'typescript/no-duplicate-enum-values': 'off',\n\t\t'typescript/no-duplicate-type-constituents': 'error',\n\t\t'typescript/no-dynamic-delete': 'error',\n\t\t'typescript/no-empty-interface': 'off',\n\t\t'typescript/no-empty-object-type': 'error',\n\t\t'typescript/no-explicit-any': 'off',\n\t\t'typescript/no-extra-non-null-assertion': 'error',\n\t\t'typescript/no-extraneous-class': 'warn',\n\t\t'typescript/no-floating-promises': 'error',\n\t\t'typescript/no-for-in-array': 'error',\n\t\t'typescript/no-implied-eval': 'error',\n\t\t'typescript/no-import-type-side-effects': 'error',\n\t\t'typescript/no-inferrable-types': 'warn',\n\t\t'typescript/no-invalid-void-type': 'off',\n\t\t'typescript/no-meaningless-void-operator': 'warn',\n\t\t'typescript/no-misused-new': 'error',\n\t\t'typescript/no-misused-promises': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tchecksConditionals: true,\n\t\t\t\tchecksVoidReturn: false,\n\t\t\t},\n\t\t],\n\t\t'typescript/no-misused-spread': 'error',\n\t\t'typescript/no-mixed-enums': 'off',\n\t\t'typescript/no-namespace': ['error', { allowDeclarations: true }],\n\t\t'typescript/no-non-null-asserted-nullish-coalescing': 'error',\n\t\t'typescript/no-non-null-asserted-optional-chain': 'error',\n\t\t'typescript/no-non-null-assertion': 'off',\n\t\t'typescript/no-redundant-type-constituents': 'error',\n\t\t'typescript/no-require-imports': 'error',\n\t\t'typescript/no-restricted-types': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\ttypes: {\n\t\t\t\t\t'[]': true,\n\t\t\t\t\t'null': true,\n\t\t\t\t\t'object': true,\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t\t'typescript/no-this-alias': 'error',\n\t\t'typescript/no-unnecessary-boolean-literal-compare': 'warn',\n\t\t'typescript/no-unnecessary-parameter-property-assignment': 'warn',\n\t\t'typescript/no-unnecessary-qualifier': 'warn',\n\t\t'typescript/no-unnecessary-template-expression': 'warn',\n\t\t'typescript/no-unnecessary-type-arguments': 'warn',\n\t\t'typescript/no-unnecessary-type-assertion': 'warn',\n\t\t'typescript/no-unnecessary-type-constraint': 'warn',\n\t\t'typescript/no-unnecessary-type-conversion': 'warn',\n\t\t'typescript/no-unnecessary-type-parameters': 'warn',\n\t\t'typescript/no-unsafe-argument': 'error',\n\t\t'typescript/no-unsafe-assignment': 'error',\n\t\t'typescript/no-unsafe-call': 'error',\n\t\t'typescript/no-unsafe-declaration-merging': 'error',\n\t\t'typescript/no-unsafe-enum-comparison': 'error',\n\t\t'typescript/no-unsafe-function-type': 'error',\n\t\t'typescript/no-unsafe-member-access': 'error',\n\t\t'typescript/no-unsafe-return': 'error',\n\t\t'typescript/no-unsafe-type-assertion': 'off',\n\t\t'typescript/no-unsafe-unary-minus': 'error',\n\t\t'typescript/no-useless-default-assignment': 'warn',\n\t\t'typescript/no-useless-empty-export': 'error',\n\t\t'typescript/no-var-requires': 'off',\n\t\t'typescript/no-wrapper-object-types': 'error',\n\t\t'typescript/non-nullable-type-assertion-style': 'warn',\n\t\t'typescript/only-throw-error': ['error', { allowThrowingAny: false }],\n\t\t'typescript/parameter-properties': [\n\t\t\t'error',\n\t\t\t{ prefer: 'class-property' },\n\t\t],\n\t\t'typescript/prefer-as-const': 'warn',\n\t\t'typescript/prefer-enum-initializers': 'off',\n\t\t'typescript/prefer-find': 'warn',\n\t\t'typescript/prefer-for-of': 'warn',\n\t\t'typescript/prefer-function-type': 'warn',\n\t\t'typescript/prefer-includes': 'warn',\n\t\t'typescript/prefer-literal-enum-member': 'off',\n\t\t'typescript/prefer-namespace-keyword': 'off',\n\t\t'typescript/prefer-nullish-coalescing': [\n\t\t\t'error',\n\t\t\t{ ignoreConditionalTests: false },\n\t\t],\n\t\t'typescript/prefer-promise-reject-errors': 'off',\n\t\t'typescript/prefer-readonly': 'warn',\n\t\t'typescript/prefer-readonly-parameter-types': 'off',\n\t\t'typescript/prefer-reduce-type-parameter': 'error',\n\t\t'typescript/prefer-regexp-exec': 'warn',\n\t\t'typescript/prefer-return-this-type': 'warn',\n\t\t'typescript/prefer-string-starts-ends-with': 'warn',\n\t\t'typescript/prefer-ts-expect-error': 'error',\n\t\t'typescript/promise-function-async': 'error',\n\t\t'typescript/related-getter-setter-pairs': 'off',\n\t\t'typescript/require-array-sort-compare': [\n\t\t\t'error',\n\t\t\t{ ignoreStringArrays: true },\n\t\t],\n\t\t'typescript/require-await': 'warn',\n\t\t'typescript/restrict-plus-operands': 'error',\n\t\t'typescript/restrict-template-expressions': [\n\t\t\t'error',\n\t\t\t{ allowNullish: true },\n\t\t],\n\t\t'typescript/return-await': ['error', 'in-try-catch'],\n\t\t'typescript/strict-boolean-expressions': 'off',\n\t\t'typescript/strict-void-return': 'error',\n\t\t'typescript/switch-exhaustiveness-check': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tallowDefaultCaseForExhaustiveSwitch: false,\n\t\t\t\tconsiderDefaultExhaustiveForUnions: true,\n\t\t\t\trequireDefaultForNonUnion: true,\n\t\t\t},\n\t\t],\n\t\t'typescript/triple-slash-reference': 'off',\n\t\t'typescript/unbound-method': 'off',\n\t\t'typescript/unified-signatures': 'error',\n\t\t'typescript/use-unknown-in-catch-callback-variable': 'error',\n\t\t'unicorn/catch-error-name': 'error',\n\t\t'unicorn/consistent-assert': 'error',\n\t\t'unicorn/consistent-date-clone': 'error',\n\t\t'unicorn/consistent-empty-array-spread': 'error',\n\t\t'unicorn/consistent-existence-index-check': 'error',\n\t\t'unicorn/consistent-function-scoping': 'error',\n\t\t'unicorn/consistent-template-literal-escape': 'error',\n\t\t'unicorn/custom-error-definition': 'error',\n\t\t'unicorn/empty-brace-spaces': 'error',\n\t\t'unicorn/error-message': 'error',\n\t\t'unicorn/escape-case': 'error',\n\t\t'unicorn/explicit-length-check': 'error',\n\t\t'unicorn/filename-case': 'off',\n\t\t'unicorn/import-style': 'off',\n\t\t'unicorn/new-for-builtins': 'error',\n\t\t'unicorn/no-abusive-eslint-disable': 'error',\n\t\t'unicorn/no-accessor-recursion': 'error',\n\t\t'unicorn/no-anonymous-default-export': 'off',\n\t\t'unicorn/no-array-callback-reference': 'off',\n\t\t'unicorn/no-array-for-each': 'error',\n\t\t'unicorn/no-array-method-this-argument': 'error',\n\t\t'unicorn/no-array-reduce': 'error',\n\t\t'unicorn/no-array-reverse': 'error',\n\t\t'unicorn/no-array-sort': ['error'],\n\t\t'unicorn/no-await-expression-member': 'error',\n\t\t'unicorn/no-await-in-promise-methods': 'error',\n\t\t'unicorn/no-console-spaces': 'error',\n\t\t'unicorn/no-document-cookie': 'error',\n\t\t'unicorn/no-empty-file': 'warn',\n\t\t'unicorn/no-hex-escape': 'error',\n\t\t'unicorn/no-immediate-mutation': 'error',\n\t\t'unicorn/no-instanceof-array': 'error',\n\t\t'unicorn/no-instanceof-builtins': 'error',\n\t\t'unicorn/no-invalid-fetch-options': 'error',\n\t\t'unicorn/no-invalid-remove-event-listener': 'error',\n\t\t'unicorn/no-length-as-slice-end': 'error',\n\t\t'unicorn/no-lonely-if': 'warn',\n\t\t'unicorn/no-magic-array-flat-depth': 'error',\n\t\t'unicorn/no-negated-condition': 'off',\n\t\t'unicorn/no-negation-in-equality-check': 'error',\n\t\t'unicorn/no-nested-ternary': 'error',\n\t\t'unicorn/no-new-array': 'error',\n\t\t'unicorn/no-new-buffer': 'error',\n\t\t'unicorn/no-null': 'off',\n\t\t'unicorn/no-object-as-default-parameter': 'error',\n\t\t'unicorn/no-process-exit': 'error',\n\t\t'unicorn/no-single-promise-in-promise-methods': 'off',\n\t\t'unicorn/no-static-only-class': 'error',\n\t\t'unicorn/no-thenable': 'error',\n\t\t'unicorn/no-this-assignment': 'error',\n\t\t'unicorn/no-typeof-undefined': [\n\t\t\t'error',\n\t\t\t{ checkGlobalVariables: true },\n\t\t],\n\t\t'unicorn/no-unnecessary-array-flat-depth': 'error',\n\t\t'unicorn/no-unnecessary-array-splice-count': 'error',\n\t\t'unicorn/no-unnecessary-await': 'error',\n\t\t'unicorn/no-unnecessary-slice-end': 'error',\n\t\t'unicorn/no-unreadable-array-destructuring': 'error',\n\t\t'unicorn/no-unreadable-iife': 'error',\n\t\t'unicorn/no-useless-collection-argument': 'error',\n\t\t'unicorn/no-useless-error-capture-stack-trace': 'error',\n\t\t'unicorn/no-useless-fallback-in-spread': 'error',\n\t\t'unicorn/no-useless-length-check': 'error',\n\t\t'unicorn/no-useless-promise-resolve-reject': 'error',\n\t\t'unicorn/no-useless-spread': 'error',\n\t\t'unicorn/no-useless-switch-case': 'error',\n\t\t'unicorn/no-useless-undefined': 'off',\n\t\t'unicorn/no-zero-fractions': 'error',\n\t\t'unicorn/number-literal-case': 'error',\n\t\t'unicorn/numeric-separators-style': [\n\t\t\t'error',\n\t\t\t{ onlyIfContainsSeparator: true },\n\t\t],\n\t\t'unicorn/prefer-add-event-listener': 'error',\n\t\t'unicorn/prefer-array-find': 'error',\n\t\t'unicorn/prefer-array-flat': 'error',\n\t\t'unicorn/prefer-array-flat-map': 'error',\n\t\t'unicorn/prefer-array-index-of': 'error',\n\t\t'unicorn/prefer-array-some': 'error',\n\t\t'unicorn/prefer-at': 'error',\n\t\t'unicorn/prefer-bigint-literals': 'off',\n\t\t'unicorn/prefer-blob-reading-methods': 'error',\n\t\t'unicorn/prefer-class-fields': 'error',\n\t\t'unicorn/prefer-classlist-toggle': 'error',\n\t\t'unicorn/prefer-code-point': 'error',\n\t\t'unicorn/prefer-date-now': 'error',\n\t\t'unicorn/prefer-default-parameters': 'error',\n\t\t'unicorn/prefer-dom-node-append': 'error',\n\t\t'unicorn/prefer-dom-node-dataset': 'error',\n\t\t'unicorn/prefer-dom-node-remove': 'error',\n\t\t'unicorn/prefer-dom-node-text-content': 'error',\n\t\t'unicorn/prefer-event-target': 'error',\n\t\t'unicorn/prefer-global-this': 'error',\n\t\t'unicorn/prefer-import-meta-properties': 'error',\n\t\t'unicorn/prefer-includes': 'off',\n\t\t'unicorn/prefer-keyboard-event-key': 'error',\n\t\t'unicorn/prefer-logical-operator-over-ternary': 'error',\n\t\t'unicorn/prefer-math-min-max': 'error',\n\t\t'unicorn/prefer-math-trunc': 'error',\n\t\t'unicorn/prefer-modern-dom-apis': 'error',\n\t\t'unicorn/prefer-modern-math-apis': 'error',\n\t\t'unicorn/prefer-module': 'error',\n\t\t'unicorn/prefer-native-coercion-functions': 'error',\n\t\t'unicorn/prefer-negative-index': 'error',\n\t\t'unicorn/prefer-node-protocol': 'error',\n\t\t'unicorn/prefer-number-properties': [\n\t\t\t'error',\n\t\t\t{\n\t\t\t\tcheckInfinity: true,\n\t\t\t\tcheckNaN: true,\n\t\t\t},\n\t\t],\n\t\t'unicorn/prefer-object-from-entries': 'error',\n\t\t'unicorn/prefer-optional-catch-binding': 'error',\n\t\t'unicorn/prefer-prototype-methods': 'error',\n\t\t'unicorn/prefer-query-selector': 'error',\n\t\t'unicorn/prefer-reflect-apply': 'error',\n\t\t'unicorn/prefer-regexp-test': 'error',\n\t\t'unicorn/prefer-response-static-json': 'error',\n\t\t'unicorn/prefer-set-has': 'error',\n\t\t'unicorn/prefer-set-size': 'error',\n\t\t'unicorn/prefer-spread': 'warn',\n\t\t'unicorn/prefer-string-raw': 'error',\n\t\t'unicorn/prefer-string-replace-all': 'error',\n\t\t'unicorn/prefer-string-slice': 'error',\n\t\t'unicorn/prefer-string-starts-ends-with': 'warn',\n\t\t'unicorn/prefer-string-trim-start-end': 'error',\n\t\t'unicorn/prefer-structured-clone': 'off',\n\t\t'unicorn/prefer-ternary': ['error', 'always'],\n\t\t'unicorn/prefer-top-level-await': 'error',\n\t\t'unicorn/prefer-type-error': 'error',\n\t\t'unicorn/relative-url-style': ['error', 'never'],\n\t\t'unicorn/require-array-join-separator': 'error',\n\t\t'unicorn/require-module-attributes': 'error',\n\t\t'unicorn/require-module-specifiers': 'error',\n\t\t'unicorn/require-number-to-fixed-digits-argument': 'error',\n\t\t'unicorn/require-post-message-target-origin': 'error',\n\t\t'unicorn/switch-case-braces': ['error', 'avoid'],\n\t\t'unicorn/switch-case-break-position': 'error',\n\t\t'unicorn/text-encoding-identifier-case': 'error',\n\t\t'unicorn/throw-new-error': 'error',\n\t\t'vitest/consistent-each-for': 'off',\n\t\t'vitest/consistent-test-filename': 'off',\n\t\t'vitest/consistent-test-it': 'off',\n\t\t'vitest/consistent-vitest-vi': 'off',\n\t\t'vitest/expect-expect': 'off',\n\t\t'vitest/hoisted-apis-on-top': 'off',\n\t\t'vitest/max-expects': 'off',\n\t\t'vitest/max-nested-describe': 'off',\n\t\t'vitest/no-alias-methods': 'off',\n\t\t'vitest/no-commented-out-tests': 'off',\n\t\t'vitest/no-conditional-expect': 'off',\n\t\t'vitest/no-conditional-in-test': 'off',\n\t\t'vitest/no-conditional-tests': 'off',\n\t\t'vitest/no-disabled-tests': 'off',\n\t\t'vitest/no-duplicate-hooks': 'off',\n\t\t'vitest/no-focused-tests': 'off',\n\t\t'vitest/no-hooks': 'off',\n\t\t'vitest/no-identical-title': 'off',\n\t\t'vitest/no-import-node-test': 'off',\n\t\t'vitest/no-importing-vitest-globals': 'off',\n\t\t'vitest/no-interpolation-in-snapshots': 'off',\n\t\t'vitest/no-large-snapshots': 'off',\n\t\t'vitest/no-mocks-import': 'off',\n\t\t'vitest/no-restricted-matchers': 'off',\n\t\t'vitest/no-restricted-vi-methods': 'off',\n\t\t'vitest/no-standalone-expect': 'off',\n\t\t'vitest/no-test-prefixes': 'off',\n\t\t'vitest/no-test-return-statement': 'off',\n\t\t'vitest/no-unneeded-async-expect-function': 'off',\n\t\t'vitest/padding-around-after-all-blocks': 'off',\n\t\t'vitest/prefer-called-exactly-once-with': 'off',\n\t\t'vitest/prefer-called-once': 'off',\n\t\t'vitest/prefer-called-times': 'off',\n\t\t'vitest/prefer-called-with': 'off',\n\t\t'vitest/prefer-comparison-matcher': 'off',\n\t\t'vitest/prefer-describe-function-title': 'off',\n\t\t'vitest/prefer-each': 'off',\n\t\t'vitest/prefer-equality-matcher': 'off',\n\t\t'vitest/prefer-expect-assertions': 'off',\n\t\t'vitest/prefer-expect-resolves': 'off',\n\t\t'vitest/prefer-expect-type-of': 'off',\n\t\t'vitest/prefer-hooks-in-order': 'off',\n\t\t'vitest/prefer-hooks-on-top': 'off',\n\t\t'vitest/prefer-import-in-mock': 'off',\n\t\t'vitest/prefer-importing-vitest-globals': 'off',\n\t\t'vitest/prefer-lowercase-title': 'off',\n\t\t'vitest/prefer-mock-promise-shorthand': 'off',\n\t\t'vitest/prefer-mock-return-shorthand': 'off',\n\t\t'vitest/prefer-snapshot-hint': 'off',\n\t\t'vitest/prefer-spy-on': 'off',\n\t\t'vitest/prefer-strict-boolean-matchers': 'off',\n\t\t'vitest/prefer-strict-equal': 'off',\n\t\t'vitest/prefer-to-be': 'off',\n\t\t'vitest/prefer-to-be-falsy': 'off',\n\t\t'vitest/prefer-to-be-object': 'off',\n\t\t'vitest/prefer-to-be-truthy': 'off',\n\t\t'vitest/prefer-to-contain': 'off',\n\t\t'vitest/prefer-to-have-been-called-times': 'off',\n\t\t'vitest/prefer-to-have-length': 'off',\n\t\t'vitest/prefer-todo': 'off',\n\t\t'vitest/require-awaited-expect-poll': 'off',\n\t\t'vitest/require-hook': 'off',\n\t\t'vitest/require-local-test-context-for-concurrent-snapshots': 'off',\n\t\t'vitest/require-mock-type-parameters': 'off',\n\t\t'vitest/require-test-timeout': 'off',\n\t\t'vitest/require-to-throw-message': 'off',\n\t\t'vitest/require-top-level-describe': 'off',\n\t\t'vitest/valid-describe-callback': 'off',\n\t\t'vitest/valid-expect': 'off',\n\t\t'vitest/valid-expect-in-promise': 'off',\n\t\t'vitest/valid-title': 'off',\n\t\t'vitest/warn-todo': 'off',\n\t},\n};\n\nexport default config;\n","import type { OxlintConfigOverrideEntry } from '@standard-config/utilities/types';\n\n/**\n * Optional config entry containing core rules that target config files.\n * Intended for explicit overrides.\n */\nconst config: OxlintConfigOverrideEntry = {\n\trules: {\n\t\t'import/no-anonymous-default-export': ['error', { allowObject: true }],\n\t\t'import/no-unassigned-import': 'off',\n\t\t'import/unambiguous': 'off',\n\t\t'typescript/no-useless-empty-export': 'off',\n\t\t'unicorn/no-empty-file': 'off',\n\t},\n};\n\nexport default config;\n","import type { OxlintConfigGlobSet } from '../types/index.d.ts';\n\nexport const GLOB_SET_CONFIG_FILES: OxlintConfigGlobSet = [\n\t'**/*.config.{js,ts,cjs,cts,mjs,mts}',\n\t'**/*.setup.{js,ts,cjs,cts,mjs,mts}',\n] as const;\n\nexport const GLOB_SET_JSX_FILES: OxlintConfigGlobSet = [\n\t'**/*.{jsx,tsx}',\n] as const;\n\nexport const GLOB_SET_TEST_FILES: OxlintConfigGlobSet = [\n\t'**/*.test.{js,jsx,ts,tsx,cjs,cts,mjs,mts}',\n\t'**/*.test-d.{ts,cts,mts}',\n] as const;\n\nexport const GLOB_SET_TYPE_DEFINITIONS: OxlintConfigGlobSet = [\n\t'**/*.d.{ts,cts,mts}',\n\t'**/*.test-d.{ts,cts,mts}',\n] as const;\n","export default function clone<T>(value: T): T {\n\ttry {\n\t\t/* oxlint-disable-next-line eslint/no-param-reassign */\n\t\tvalue = structuredClone(value);\n\t} catch {}\n\n\treturn value;\n}\n","/* oxlint-disable eslint/no-unsafe-member-access */\n\nimport type { OxlintConfig } from 'oxlint';\nimport type {\n\tOxlintConfigBaseEntry,\n\tOxlintConfigOverrideEntry,\n} from '../types/index.ts';\nimport clone from '../clone/index.ts';\n\nexport default function mergeConfig(\n\tbaseConfig: OxlintConfig,\n\textensionConfig:\n\t\t| OxlintConfig\n\t\t| OxlintConfigBaseEntry\n\t\t| OxlintConfigOverrideEntry\n): OxlintConfig {\n\tif (!(isObject(baseConfig) && isObject(extensionConfig))) {\n\t\tthrow new TypeError(\n\t\t\t'Standard Config error: expected config to be an object'\n\t\t);\n\t}\n\n\tconst result = clone(baseConfig);\n\n\tfor (const [key, value] of Object.entries(\n\t\tclone(extensionConfig)\n\t) as ReadonlyArray<[keyof OxlintConfig, unknown]>) {\n\t\tif (value === undefined || value === null) {\n\t\t\t/* oxlint-disable-next-line typescript/no-dynamic-delete */\n\t\t\tdelete result[key];\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (result[key] === undefined) {\n\t\t\t(result as any)[key] = value;\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (isArray(value) && isArray(result[key])) {\n\t\t\tconst values = [...new Set([...result[key], ...value])];\n\n\t\t\t(result as any)[key] =\n\t\t\t\tkey === 'plugins'\n\t\t\t\t\t? (values as ReadonlyArray<string>).toSorted()\n\t\t\t\t\t: values;\n\n\t\t\tcontinue;\n\t\t}\n\n\t\t(result as any)[key] = { ...result[key], ...value };\n\t}\n\n\treturn result;\n}\n\nfunction isArray(value: unknown): value is unknown[] {\n\treturn Array.isArray(value);\n}\n\nfunction isObject(value: unknown): value is Record<string, unknown> {\n\treturn typeof value === 'object' && value !== null;\n}\n","import type { OxlintConfigOverrideEntry } from '@standard-config/utilities/types';\n\n/**\n * Optional config entry containing core rules that target test files. Intended\n * for explicit overrides.\n */\nconst config: OxlintConfigOverrideEntry = {\n\trules: {\n\t\t'eslint/getter-return': 'off',\n\t\t'eslint/no-empty-function': 'off',\n\t\t'eslint/no-param-reassign': 'off',\n\t\t'eslint/no-promise-executor-return': 'off',\n\t\t'eslint/no-useless-assignment': 'off',\n\t\t'import/no-unassigned-import': 'off',\n\t\t'import/unambiguous': 'off',\n\t\t'jest/expect-expect': 'warn',\n\t\t'jest/no-commented-out-tests': 'warn',\n\t\t'jest/no-conditional-expect': 'error',\n\t\t'jest/no-conditional-in-test': 'error',\n\t\t'jest/no-confusing-set-timeout': 'error',\n\t\t'jest/no-deprecated-functions': 'error',\n\t\t'jest/no-disabled-tests': 'warn',\n\t\t'jest/no-duplicate-hooks': 'warn',\n\t\t'jest/no-export': 'error',\n\t\t'jest/no-focused-tests': 'warn',\n\t\t'jest/no-identical-title': 'warn',\n\t\t'jest/no-interpolation-in-snapshots': 'error',\n\t\t'jest/no-mocks-import': 'error',\n\t\t'jest/no-standalone-expect': 'error',\n\t\t'jest/no-test-return-statement': 'error',\n\t\t'jest/no-unneeded-async-expect-function': 'error',\n\t\t'jest/padding-around-after-all-blocks': 'error',\n\t\t'jest/padding-around-test-blocks': 'error',\n\t\t'jest/prefer-comparison-matcher': 'error',\n\t\t'jest/prefer-each': 'error',\n\t\t'jest/prefer-equality-matcher': 'error',\n\t\t'jest/prefer-expect-resolves': 'error',\n\t\t'jest/prefer-hooks-in-order': 'warn',\n\t\t'jest/prefer-hooks-on-top': 'warn',\n\t\t'jest/prefer-jest-mocked': 'error',\n\t\t'jest/prefer-mock-promise-shorthand': 'error',\n\t\t'jest/prefer-mock-return-shorthand': 'error',\n\t\t'jest/prefer-strict-equal': 'error',\n\t\t'jest/prefer-to-be': 'error',\n\t\t'jest/prefer-to-contain': 'error',\n\t\t'jest/prefer-to-have-been-called': 'error',\n\t\t'jest/prefer-to-have-been-called-times': 'error',\n\t\t'jest/prefer-to-have-length': 'error',\n\t\t'jest/prefer-todo': 'error',\n\t\t'jest/require-to-throw-message': 'error',\n\t\t'jest/valid-describe-callback': 'error',\n\t\t'jest/valid-expect': 'error',\n\t\t'jest/valid-expect-in-promise': 'error',\n\t\t'jest/valid-title': 'error',\n\t\t'oxc/approx-constant': 'off',\n\t\t'oxc/no-accumulating-spread': 'off',\n\t\t'oxc/no-map-spread': 'off',\n\t\t'promise/catch-or-return': 'off',\n\t\t'promise/no-callback-in-promise': 'off',\n\t\t'promise/no-promise-in-callback': 'off',\n\t\t'promise/no-return-wrap': 'off',\n\t\t'promise/prefer-await-to-then': 'off',\n\t\t'typescript/ban-ts-comment': 'off',\n\t\t'typescript/explicit-module-boundary-types': 'off',\n\t\t'typescript/no-base-to-string': 'off',\n\t\t'typescript/no-confusing-void-expression': 'off',\n\t\t'typescript/no-extraneous-class': 'off',\n\t\t'typescript/no-restricted-types': 'off',\n\t\t'typescript/no-unsafe-argument': 'off',\n\t\t'typescript/no-unsafe-assignment': 'off',\n\t\t'typescript/no-unsafe-call': 'off',\n\t\t'typescript/no-unsafe-declaration-merging': 'off',\n\t\t'typescript/no-unsafe-enum-comparison': 'off',\n\t\t'typescript/no-unsafe-function-type': 'off',\n\t\t'typescript/no-unsafe-member-access': 'off',\n\t\t'typescript/no-unsafe-return': 'off',\n\t\t'typescript/no-unsafe-unary-minus': 'off',\n\t\t'typescript/only-throw-error': 'off',\n\t\t'typescript/restrict-template-expressions': 'off',\n\t\t'typescript/strict-void-return': 'off',\n\t\t'unicorn/consistent-function-scoping': 'off',\n\t\t'unicorn/error-message': 'off',\n\t\t'unicorn/no-empty-file': 'off',\n\t\t'unicorn/no-useless-promise-resolve-reject': 'off',\n\t\t'vitest/consistent-each-for': [\n\t\t\t'warn',\n\t\t\t{\n\t\t\t\ttest: 'each',\n\t\t\t\tdescribe: 'each',\n\t\t\t\tit: 'each',\n\t\t\t\tsuite: 'each',\n\t\t\t},\n\t\t],\n\t\t'vitest/consistent-vitest-vi': 'error',\n\t\t'vitest/expect-expect': 'warn',\n\t\t'vitest/hoisted-apis-on-top': 'error',\n\t\t'vitest/no-commented-out-tests': 'warn',\n\t\t'vitest/no-conditional-expect': 'error',\n\t\t'vitest/no-conditional-in-test': 'error',\n\t\t'vitest/no-disabled-tests': 'warn',\n\t\t'vitest/no-duplicate-hooks': 'warn',\n\t\t'vitest/no-focused-tests': 'warn',\n\t\t'vitest/no-identical-title': 'warn',\n\t\t'vitest/no-import-node-test': 'error',\n\t\t'vitest/no-interpolation-in-snapshots': 'error',\n\t\t'vitest/no-mocks-import': 'error',\n\t\t'vitest/no-standalone-expect': 'error',\n\t\t'vitest/no-test-return-statement': 'error',\n\t\t'vitest/no-unneeded-async-expect-function': 'error',\n\t\t'vitest/padding-around-after-all-blocks': 'error',\n\t\t'vitest/prefer-called-exactly-once-with': 'warn',\n\t\t'vitest/prefer-called-times': 'error',\n\t\t'vitest/prefer-comparison-matcher': 'error',\n\t\t'vitest/prefer-describe-function-title': 'error',\n\t\t'vitest/prefer-each': 'error',\n\t\t'vitest/prefer-equality-matcher': 'error',\n\t\t'vitest/prefer-expect-resolves': 'error',\n\t\t'vitest/prefer-expect-type-of': 'error',\n\t\t'vitest/prefer-hooks-in-order': 'warn',\n\t\t'vitest/prefer-hooks-on-top': 'warn',\n\t\t'vitest/prefer-importing-vitest-globals': 'error',\n\t\t'vitest/prefer-mock-promise-shorthand': 'error',\n\t\t'vitest/prefer-mock-return-shorthand': 'error',\n\t\t'vitest/prefer-strict-boolean-matchers': 'error',\n\t\t'vitest/prefer-strict-equal': 'error',\n\t\t'vitest/prefer-to-be': 'error',\n\t\t'vitest/prefer-to-be-object': 'error',\n\t\t'vitest/prefer-to-contain': 'error',\n\t\t'vitest/prefer-to-have-been-called-times': 'error',\n\t\t'vitest/prefer-to-have-length': 'error',\n\t\t'vitest/prefer-todo': 'error',\n\t\t'vitest/require-awaited-expect-poll': 'error',\n\t\t'vitest/require-local-test-context-for-concurrent-snapshots': 'error',\n\t\t'vitest/require-to-throw-message': 'error',\n\t\t'vitest/valid-describe-callback': 'error',\n\t\t'vitest/valid-expect': 'error',\n\t\t'vitest/valid-expect-in-promise': 'error',\n\t\t'vitest/valid-title': 'error',\n\t\t'vitest/warn-todo': 'warn',\n\t},\n};\n\nexport default config;\n","import type { OxlintConfigOverrideEntry } from '@standard-config/utilities/types';\n\n/**\n * Optional config entry containing core rules that target type definition\n * files. Intended for explicit overrides.\n */\nconst config: OxlintConfigOverrideEntry = {\n\trules: {\n\t\t'import/no-empty-named-blocks': 'off',\n\t\t'import/no-unassigned-import': 'off',\n\t\t'import/unambiguous': 'off',\n\t\t'typescript/consistent-type-definitions': 'off',\n\t\t'typescript/no-empty-object-type': 'off',\n\t\t'typescript/no-restricted-types': 'off',\n\t\t'typescript/no-useless-empty-export': 'off',\n\t\t'unicorn/require-module-specifiers': 'off',\n\t},\n};\n\nexport default config;\n","import type { OxlintConfig } from 'oxlint';\nimport {\n\tGLOB_SET_CONFIG_FILES,\n\tGLOB_SET_TEST_FILES,\n\tGLOB_SET_TYPE_DEFINITIONS,\n} from '@standard-config/utilities/constants';\nimport mergeConfig from '@standard-config/utilities/merge-config';\nimport configBase from '../config-base/index.ts';\nimport configConfigFiles from '../config-config-files/index.ts';\nimport configTestFiles from '../config-test-files/index.ts';\nimport configTypeDefinitions from '../config-type-definitions/index.ts';\n\n/**\n * Resolved Standard Config core entry.\n */\nconst config: OxlintConfig = mergeConfig(configBase, {\n\toverrides: [\n\t\t{\n\t\t\tfiles: GLOB_SET_TYPE_DEFINITIONS,\n\t\t\t...configTypeDefinitions,\n\t\t},\n\t\t{\n\t\t\tfiles: GLOB_SET_TEST_FILES,\n\t\t\t...configTestFiles,\n\t\t},\n\t\t{\n\t\t\tfiles: GLOB_SET_CONFIG_FILES,\n\t\t\t...configConfigFiles,\n\t\t},\n\t],\n});\n\nexport default config;\n","import type { OxlintConfig } from 'oxlint';\nimport mergeConfig from '@standard-config/utilities/merge-config';\nimport { defineConfig as oxlintDefineConfig } from 'oxlint';\nimport configCore from '../config-default/index.ts';\n\nconst SUPPLEMENTAL_CONFIGS: OxlintConfig[] = [];\n\nfor (const config of [\n\t'@standard-config/oxlint-react',\n\t'@standard-config/oxlint-stylistic',\n] as const) {\n\tlet resolvedConfig: OxlintConfig | undefined;\n\n\ttry {\n\t\t/* oxlint-disable-next-line typescript/no-unsafe-assignment */\n\t\tconst module = await import(config);\n\t\t/* oxlint-disable-next-line typescript/no-unsafe-member-access */\n\t\tresolvedConfig = module.default as OxlintConfig;\n\t} catch {}\n\n\tif (typeof resolvedConfig === 'object') {\n\t\tSUPPLEMENTAL_CONFIGS.push(resolvedConfig);\n\t}\n}\n\nexport default function defineConfig(...configs: OxlintConfig[]): OxlintConfig {\n\tlet mergedConfig: OxlintConfig = {};\n\n\tfor (const config of [configCore, ...SUPPLEMENTAL_CONFIGS, ...configs]) {\n\t\tmergedConfig = mergeConfig(mergedConfig, config);\n\t}\n\n\treturn oxlintDefineConfig(mergedConfig);\n}\n","import type { OxlintConfig } from 'oxlint';\nimport defineConfig from '../define-config/index.ts';\n\n/**\n * Alias for `defineConfig`.\n */\nexport default function defineOxlintConfig(\n\t...configs: OxlintConfig[]\n): OxlintConfig {\n\treturn defineConfig(...configs);\n}\n","import type { OxlintConfigPluginEntry } from '../types/index.d.ts';\nimport { fileURLToPath } from 'node:url';\n\n/**\n * Resolve an external plugin specifier to a file path.\n *\n * @example\n *\n * ```ts\n * import { resolvePlugin } from '@standard-config/oxlint';\n * import { defineConfig } from 'oxlint';\n *\n * const config = defineConfig({\n * jsPlugins: [\n * resolvePlugin(\n * 'react-x',\n * '@eslint-react/eslint-plugin',\n * ),\n * ],\n * rules: {\n * 'react-x/refs': 'error',\n * },\n * });\n * ```\n */\nexport default function resolvePlugin(\n\tname: string,\n\tspecifier: string\n): OxlintConfigPluginEntry {\n\ttry {\n\t\t/* oxlint-disable-next-line eslint/no-param-reassign */\n\t\tspecifier = fileURLToPath(import.meta.resolve(specifier));\n\t} catch {}\n\n\treturn { name, specifier };\n}\n"],"mappings":";;;;;;AAKA,MAAM,SAAoC;CACzC,SAAS;EACR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;CACA,KAAK;EACJ,SAAS;EACT,MAAM;CACP;CACA,SAAS;EACR,+BAA+B;EAC/B,WAAW;CACZ;CACA,UAAU,EACT,QAAQ,EACP,WAAW,KACZ,EACD;CACA,OAAO;EACN,yBAAyB,CAAC,SAAS,EAAE,wBAAwB,KAAK,CAAC;EACnE,gCAAgC,CAAC,SAAS,EAAE,eAAe,KAAK,CAAC;EACjE,2BAA2B;EAC3B,2BAA2B;EAC3B,+BAA+B;EAC/B,iCAAiC;EACjC,qBAAqB;EACrB,4BAA4B;EAC5B,gBAAgB,CAAC,SAAS,KAAK;EAC/B,uBAAuB;EACvB,4BAA4B;EAC5B,6BAA6B;EAC7B,iBAAiB;EACjB,wBAAwB;EACxB,6BAA6B;GAC5B;GACA;GACA,EAAE,4BAA4B,KAAK;EACpC;EACA,qBAAqB;EACrB,qBAAqB;GACpB;GACA;GACA,EAAE,qBAAqB,KAAK;EAC7B;EACA,wBAAwB;EACxB,iCAAiC,CAAC,SAAS,cAAc;EACzD,uBAAuB;EACvB,oBAAoB;EACpB,mBAAmB;EACnB,4BAA4B;EAC5B,uCAAuC;EACvC,+BAA+B;EAC/B,oBAAoB;EACpB,oBAAoB;EACpB,iCAAiC;EACjC,+BAA+B;EAC/B,qBAAqB;EACrB,yBAAyB;EACzB,kBAAkB;EAClB,mBAAmB;EACnB,+BAA+B;E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.0.0",
|
|
4
4
|
"description": "Curated Oxlint config with sensible defaults",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
"email": "dom@dom.engineering",
|
|
9
9
|
"url": "https://dom.engineering"
|
|
10
10
|
},
|
|
11
|
+
"homepage": "https://sconfig.org/oxlint",
|
|
11
12
|
"repository": {
|
|
12
13
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/standard-config/oxlint.git"
|
|
14
|
+
"url": "git+https://github.com/standard-config/oxlint.git",
|
|
15
|
+
"directory": "packages/oxlint"
|
|
14
16
|
},
|
|
15
17
|
"keywords": [
|
|
16
18
|
"eslint-config-xo",
|
|
@@ -22,10 +24,12 @@
|
|
|
22
24
|
"oxlint-tsgolint",
|
|
23
25
|
"react",
|
|
24
26
|
"standard-config",
|
|
27
|
+
"standard-config-oxlint",
|
|
28
|
+
"stylistic",
|
|
25
29
|
"type-aware",
|
|
26
30
|
"typescript",
|
|
27
|
-
"vite-plus",
|
|
28
31
|
"vite+",
|
|
32
|
+
"vite-plus",
|
|
29
33
|
"xo"
|
|
30
34
|
],
|
|
31
35
|
"files": [
|
|
@@ -36,25 +40,32 @@
|
|
|
36
40
|
"exports": "./dist/index.mjs",
|
|
37
41
|
"types": "./dist/index.d.mts",
|
|
38
42
|
"engines": {
|
|
39
|
-
"node": ">=
|
|
43
|
+
"node": ">=22"
|
|
40
44
|
},
|
|
41
45
|
"peerDependencies": {
|
|
42
|
-
"oxlint": "^
|
|
43
|
-
"oxlint-
|
|
46
|
+
"@standard-config/oxlint-react": "^2.0.0",
|
|
47
|
+
"@standard-config/oxlint-stylistic": "^2.0.0",
|
|
48
|
+
"oxlint": "^1.68.0",
|
|
49
|
+
"oxlint-tsgolint": "^0.23.0"
|
|
44
50
|
},
|
|
45
51
|
"peerDependenciesMeta": {
|
|
52
|
+
"@standard-config/oxlint-react": {
|
|
53
|
+
"optional": true
|
|
54
|
+
},
|
|
55
|
+
"@standard-config/oxlint-stylistic": {
|
|
56
|
+
"optional": true
|
|
57
|
+
},
|
|
46
58
|
"oxlint-tsgolint": {
|
|
47
59
|
"optional": true
|
|
48
60
|
}
|
|
49
61
|
},
|
|
50
62
|
"devDependencies": {
|
|
51
|
-
"@standard-config/tsconfig": "^3.
|
|
52
|
-
"oxlint": "^1.
|
|
53
|
-
"publint": "^0.3.
|
|
63
|
+
"@standard-config/tsconfig": "^3.2.0",
|
|
64
|
+
"oxlint": "^1.68.0",
|
|
65
|
+
"publint": "^0.3.21",
|
|
54
66
|
"typescript": "^6.0.3",
|
|
55
|
-
"vite-plus": "^0.1.
|
|
56
|
-
"vitest": "^4.1.
|
|
57
|
-
"@standard-config/oxlint-react": "0.0.0",
|
|
67
|
+
"vite-plus": "^0.1.23",
|
|
68
|
+
"vitest": "^4.1.8",
|
|
58
69
|
"@standard-config/utilities": "0.0.0"
|
|
59
70
|
},
|
|
60
71
|
"scripts": {
|