@4mbl/lint 0.0.0-alpha.b43b96d → 0.0.0-alpha.b5248e1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/bin/cli.js +31 -3
- package/dist/base.d.ts +30 -4
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +15 -2
- package/dist/base.js.map +1 -1
- package/dist/next.d.ts.map +1 -1
- package/dist/next.js +49 -37
- package/dist/next.js.map +1 -1
- package/dist/node.d.ts +45 -5
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +12 -2
- package/dist/node.js.map +1 -1
- package/dist/react.d.ts +51 -13
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +20 -7
- package/dist/react.js.map +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# @4mbl/lint
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.14
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e34f9fe: Enable import plugin in base
|
|
8
|
+
- 5586655: Disable some import plugin rules in base
|
|
9
|
+
- 9b2b412: Disable `no-nodejs-modules` in node
|
|
10
|
+
|
|
11
|
+
## 1.0.0-beta.13
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- dd66007: Pin dependencies to ensure future compatibility
|
|
16
|
+
- 0feb87d: Remove unused dependencies and inline trivial imports
|
|
17
|
+
- 1d98a33: Disable `react/forbid-component-props` and `react/forbid-dom-props` to ensure Tailwind compatibility
|
|
18
|
+
- a9085f2: Extend inherited plugins in child presets
|
|
19
|
+
- 014d999: Allow `eslint/no-underscore-dangle` for `__dirname` and `__filename` in node
|
|
20
|
+
|
|
21
|
+
## 1.0.0-beta.12
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- aee0259: Upgrade dependencies
|
|
26
|
+
|
|
27
|
+
## 1.0.0-beta.11
|
|
28
|
+
|
|
29
|
+
### Minor Changes
|
|
30
|
+
|
|
31
|
+
- 20b3dae: Use native rules for React when possible
|
|
32
|
+
|
|
33
|
+
## 1.0.0-beta.10
|
|
34
|
+
|
|
35
|
+
### Minor Changes
|
|
36
|
+
|
|
37
|
+
- 007a287: Configure more rules to reduce noise
|
|
38
|
+
- 007a287: Use native only-export-components rule instead of js plugin
|
|
39
|
+
- 007a287: Use correct namespace for Next.js rules
|
|
40
|
+
|
|
41
|
+
## 1.0.0-beta.9
|
|
42
|
+
|
|
43
|
+
### Minor Changes
|
|
44
|
+
|
|
45
|
+
- 491164e: Add --help flag to cli
|
|
46
|
+
- 491164e: Fallback to Oxlint config lookup if no preset is passed to CLI and Oxlint config exists within working directory.
|
|
47
|
+
|
|
3
48
|
## 1.0.0-beta.8
|
|
4
49
|
|
|
5
50
|
### Minor Changes
|
package/bin/cli.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { spawnSync } from 'node:child_process';
|
|
4
|
+
import { existsSync } from 'node:fs';
|
|
4
5
|
import path from 'node:path';
|
|
5
6
|
import { fileURLToPath } from 'node:url';
|
|
6
7
|
|
|
@@ -15,11 +16,38 @@ const wrapperArgs =
|
|
|
15
16
|
separatorIndex === -1 ? rawArgs : rawArgs.slice(0, separatorIndex);
|
|
16
17
|
const toolArgs = separatorIndex === -1 ? [] : rawArgs.slice(separatorIndex + 1);
|
|
17
18
|
|
|
19
|
+
if (wrapperArgs.includes('--help') || rawArgs.includes('-h')) {
|
|
20
|
+
console.log(`
|
|
21
|
+
Usage:
|
|
22
|
+
lint [options] -- [oxlint options]
|
|
23
|
+
|
|
24
|
+
Options:
|
|
25
|
+
--preset <name> Use a preset config (default: base if no config within cwd)
|
|
26
|
+
|
|
27
|
+
Examples:
|
|
28
|
+
lint
|
|
29
|
+
lint --preset node
|
|
30
|
+
lint -- src --fix
|
|
31
|
+
|
|
32
|
+
Notes:
|
|
33
|
+
Everything after "--" is passed directly to oxlint.
|
|
34
|
+
`);
|
|
35
|
+
|
|
36
|
+
process.exit(0);
|
|
37
|
+
}
|
|
38
|
+
|
|
18
39
|
const presetArgIndex = wrapperArgs.findIndex((a) => a === '--preset');
|
|
40
|
+
|
|
19
41
|
const presetName =
|
|
20
|
-
presetArgIndex !== -1
|
|
42
|
+
presetArgIndex !== -1
|
|
43
|
+
? wrapperArgs[presetArgIndex + 1]
|
|
44
|
+
: !existsSync('./oxlint.config.ts') && !existsSync('./.oxlintrc.json')
|
|
45
|
+
? 'base'
|
|
46
|
+
: undefined;
|
|
21
47
|
|
|
22
|
-
const configPath =
|
|
48
|
+
const configPath = presetName
|
|
49
|
+
? path.resolve(__dirname, `../dist/${presetName}.js`)
|
|
50
|
+
: undefined;
|
|
23
51
|
|
|
24
52
|
const hasPath = toolArgs.some((a) => !a.startsWith('-'));
|
|
25
53
|
const hasMaxWarn = toolArgs.some((a) => a.startsWith('--max-warnings'));
|
|
@@ -28,7 +56,7 @@ const hasReportUnused = toolArgs.some((a) =>
|
|
|
28
56
|
);
|
|
29
57
|
|
|
30
58
|
const finalArgs = [
|
|
31
|
-
'--config',
|
|
59
|
+
configPath ? '--config' : undefined,
|
|
32
60
|
configPath,
|
|
33
61
|
hasPath ? undefined : 'src',
|
|
34
62
|
hasMaxWarn ? undefined : '--max-warnings=0',
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
type BaseOptions = {};
|
|
3
3
|
declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
4
|
-
plugins: ("unicorn" | "typescript")[];
|
|
4
|
+
plugins: ("unicorn" | "typescript" | "import")[];
|
|
5
5
|
jsPlugins: never[];
|
|
6
6
|
categories: {
|
|
7
7
|
correctness: "error";
|
|
@@ -107,7 +107,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
107
107
|
'unicorn/switch-case-braces': "warn";
|
|
108
108
|
'typescript/prefer-regexp-exec': "warn";
|
|
109
109
|
'eslint/init-declarations': "off";
|
|
110
|
-
'unicorn/no-null': "
|
|
110
|
+
'unicorn/no-null': "off";
|
|
111
111
|
'eslint/no-undefined': "off";
|
|
112
112
|
'eslint/no-console': "off";
|
|
113
113
|
'eslint/no-continue': "off";
|
|
@@ -120,15 +120,28 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
120
120
|
'eslint/no-empty-function': ["warn", {
|
|
121
121
|
allow: string[];
|
|
122
122
|
}];
|
|
123
|
+
'unicorn/no-instanceof-builtins': "off";
|
|
124
|
+
'unicorn/prefer-spread': "off";
|
|
125
|
+
'eslint/new-cap': "off";
|
|
126
|
+
'unicorn/no-await-expression-member': "off";
|
|
123
127
|
'eslint/no-duplicate-imports': ["warn", {
|
|
124
128
|
allowSeparateTypeImports: boolean;
|
|
125
129
|
}];
|
|
130
|
+
'import/no-named-export': "off";
|
|
131
|
+
'import/no-default-export': "off";
|
|
132
|
+
'import/prefer-default-export': "off";
|
|
133
|
+
'import/no-namespace': "off";
|
|
134
|
+
'import/exports-last': "off";
|
|
135
|
+
'import/no-unassigned-import': "off";
|
|
136
|
+
'import/group-exports': "off";
|
|
137
|
+
'import/consistent-type-specifier-style': "off";
|
|
126
138
|
'unicorn/no-new-array': "off";
|
|
127
139
|
'eslint/no-array-constructor': "warn";
|
|
128
140
|
'typescript/explicit-function-return-type': "off";
|
|
129
141
|
'typescript/explicit-module-boundary-types': "off";
|
|
130
142
|
'unicorn/no-anonymous-default-export': "off";
|
|
131
143
|
'eslint/sort-imports': "off";
|
|
144
|
+
'import/no-relative-parent-imports': "off";
|
|
132
145
|
'eslint/no-magic-numbers': "off";
|
|
133
146
|
'unicorn/prefer-modern-math-apis': "off";
|
|
134
147
|
'eslint/no-use-before-define': "off";
|
|
@@ -150,7 +163,7 @@ declare function baseConfig(_options?: Partial<BaseOptions>): {
|
|
|
150
163
|
};
|
|
151
164
|
export { type OxlintConfig, defineConfig, baseConfig };
|
|
152
165
|
declare const _default: {
|
|
153
|
-
plugins: ("unicorn" | "typescript")[];
|
|
166
|
+
plugins: ("unicorn" | "typescript" | "import")[];
|
|
154
167
|
jsPlugins: never[];
|
|
155
168
|
categories: {
|
|
156
169
|
correctness: "error";
|
|
@@ -256,7 +269,7 @@ declare const _default: {
|
|
|
256
269
|
'unicorn/switch-case-braces': "warn";
|
|
257
270
|
'typescript/prefer-regexp-exec': "warn";
|
|
258
271
|
'eslint/init-declarations': "off";
|
|
259
|
-
'unicorn/no-null': "
|
|
272
|
+
'unicorn/no-null': "off";
|
|
260
273
|
'eslint/no-undefined': "off";
|
|
261
274
|
'eslint/no-console': "off";
|
|
262
275
|
'eslint/no-continue': "off";
|
|
@@ -269,15 +282,28 @@ declare const _default: {
|
|
|
269
282
|
'eslint/no-empty-function': ["warn", {
|
|
270
283
|
allow: string[];
|
|
271
284
|
}];
|
|
285
|
+
'unicorn/no-instanceof-builtins': "off";
|
|
286
|
+
'unicorn/prefer-spread': "off";
|
|
287
|
+
'eslint/new-cap': "off";
|
|
288
|
+
'unicorn/no-await-expression-member': "off";
|
|
272
289
|
'eslint/no-duplicate-imports': ["warn", {
|
|
273
290
|
allowSeparateTypeImports: boolean;
|
|
274
291
|
}];
|
|
292
|
+
'import/no-named-export': "off";
|
|
293
|
+
'import/no-default-export': "off";
|
|
294
|
+
'import/prefer-default-export': "off";
|
|
295
|
+
'import/no-namespace': "off";
|
|
296
|
+
'import/exports-last': "off";
|
|
297
|
+
'import/no-unassigned-import': "off";
|
|
298
|
+
'import/group-exports': "off";
|
|
299
|
+
'import/consistent-type-specifier-style': "off";
|
|
275
300
|
'unicorn/no-new-array': "off";
|
|
276
301
|
'eslint/no-array-constructor': "warn";
|
|
277
302
|
'typescript/explicit-function-return-type': "off";
|
|
278
303
|
'typescript/explicit-module-boundary-types': "off";
|
|
279
304
|
'unicorn/no-anonymous-default-export': "off";
|
|
280
305
|
'eslint/sort-imports': "off";
|
|
306
|
+
'import/no-relative-parent-imports': "off";
|
|
281
307
|
'eslint/no-magic-numbers': "off";
|
|
282
308
|
'unicorn/prefer-modern-math-apis': "off";
|
|
283
309
|
'eslint/no-use-before-define': "off";
|
package/dist/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyLlD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,wBAA4B"}
|
package/dist/base.js
CHANGED
|
@@ -3,7 +3,7 @@ import { defineConfig } from 'oxlint';
|
|
|
3
3
|
function baseConfig(_options) {
|
|
4
4
|
// const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
5
5
|
return defineConfig({
|
|
6
|
-
plugins: ['typescript', 'unicorn'],
|
|
6
|
+
plugins: ['import', 'typescript', 'unicorn'],
|
|
7
7
|
jsPlugins: [],
|
|
8
8
|
categories: {
|
|
9
9
|
correctness: 'error',
|
|
@@ -114,7 +114,7 @@ function baseConfig(_options) {
|
|
|
114
114
|
'unicorn/switch-case-braces': 'warn',
|
|
115
115
|
'typescript/prefer-regexp-exec': 'warn',
|
|
116
116
|
'eslint/init-declarations': 'off',
|
|
117
|
-
'unicorn/no-null': '
|
|
117
|
+
'unicorn/no-null': 'off', // too strict, for example JSON.stringify requires null parameter, null is also required in react
|
|
118
118
|
'eslint/no-undefined': 'off', // undefined is necessary
|
|
119
119
|
'eslint/no-console': 'off', // browser is no longer the only environment js is run on
|
|
120
120
|
'eslint/no-continue': 'off', // early-continue is useful
|
|
@@ -123,10 +123,22 @@ function baseConfig(_options) {
|
|
|
123
123
|
'eslint/no-void': 'off', // void is useful for explicitly indicating floating promises
|
|
124
124
|
'eslint/no-nested-ternary': 'off', // ternaries are cleaner and necessary due to lack of match expressions
|
|
125
125
|
'eslint/no-empty-function': ['warn', { allow: ['constructors'] }], // empty constructors are allowed for explicit singleton pattern
|
|
126
|
+
'unicorn/no-instanceof-builtins': 'off', // better typesafety than using `typeof`
|
|
127
|
+
'unicorn/prefer-spread': 'off', // conflicts with other rules
|
|
128
|
+
'eslint/new-cap': 'off', // false positives
|
|
129
|
+
'unicorn/no-await-expression-member': 'off', // accessing await result directly is more desired than slight readability improvement
|
|
126
130
|
'eslint/no-duplicate-imports': [
|
|
127
131
|
'warn',
|
|
128
132
|
{ allowSeparateTypeImports: true },
|
|
129
133
|
],
|
|
134
|
+
'import/no-named-export': 'off',
|
|
135
|
+
'import/no-default-export': 'off',
|
|
136
|
+
'import/prefer-default-export': 'off',
|
|
137
|
+
'import/no-namespace': 'off', // star imports are still pretty necessary
|
|
138
|
+
'import/exports-last': 'off', // star imports are still pretty necessary
|
|
139
|
+
'import/no-unassigned-import': 'off', // required for css imports
|
|
140
|
+
'import/group-exports': 'off', // co-locating export statement with the function it exports is more readable
|
|
141
|
+
'import/consistent-type-specifier-style': 'off', // single import per file is more readable
|
|
130
142
|
// Array.from() is slower than new Array()
|
|
131
143
|
// https://jsperf.app/tatuse
|
|
132
144
|
'unicorn/no-new-array': 'off',
|
|
@@ -137,6 +149,7 @@ function baseConfig(_options) {
|
|
|
137
149
|
// may revisit
|
|
138
150
|
'unicorn/no-anonymous-default-export': 'off',
|
|
139
151
|
'eslint/sort-imports': 'off', // consider when oxfmt is setup
|
|
152
|
+
'import/no-relative-parent-imports': 'off',
|
|
140
153
|
// currently produces too many false positives
|
|
141
154
|
'eslint/no-magic-numbers': 'off',
|
|
142
155
|
'unicorn/prefer-modern-math-apis': 'off',
|
package/dist/base.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AAIzD,2CAA2C;AAE3C,SAAS,UAAU,CAAC,QAA+B;IACjD,mDAAmD;IAEnD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AAIzD,2CAA2C;AAE3C,SAAS,UAAU,CAAC,QAA+B;IACjD,mDAAmD;IAEnD,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,EAAE,SAAS,CAAC;QAC5C,SAAS,EAAE,EAAE;QACb,UAAU,EAAE;YACV,WAAW,EAAE,OAAO;YACpB,UAA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ourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,YAAY,CAAC;AAE5D,KAAK,WAAW,GAAG,YAAY,GAAG;IAChC;;;;;;;OAOG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAIF,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,gBA0EjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;AAEvD,wBAA4B"}
|
package/dist/next.js
CHANGED
|
@@ -2,50 +2,62 @@ import path from 'node:path';
|
|
|
2
2
|
import process from 'node:process';
|
|
3
3
|
import { defineConfig } from 'oxlint';
|
|
4
4
|
import { reactConfig } from './react.js';
|
|
5
|
-
import reactRefresh from 'eslint-plugin-react-refresh';
|
|
6
5
|
const DEFAULT_OPTIONS = { uiPath: 'src/components/ui/' };
|
|
7
6
|
function nextConfig(options) {
|
|
8
7
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
8
|
+
const react = reactConfig(options);
|
|
9
9
|
return defineConfig({
|
|
10
|
-
extends: [
|
|
11
|
-
plugins: ['nextjs'],
|
|
10
|
+
extends: [react],
|
|
11
|
+
plugins: [...react.plugins, 'nextjs'],
|
|
12
12
|
rules: {
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
},
|
|
34
|
-
ignorePatterns: ['.next/**', 'out/**', 'build/**', 'next-env.d.ts'],
|
|
35
|
-
overrides: [
|
|
13
|
+
'nextjs/google-font-display': 'warn',
|
|
14
|
+
'nextjs/google-font-preconnect': 'warn',
|
|
15
|
+
'nextjs/next-script-for-ga': 'warn',
|
|
16
|
+
'nextjs/no-async-client-component': 'warn',
|
|
17
|
+
'nextjs/no-before-interactive-script-outside-document': 'warn',
|
|
18
|
+
'nextjs/no-css-tags': 'warn',
|
|
19
|
+
'nextjs/no-head-element': 'warn',
|
|
20
|
+
'nextjs/no-html-link-for-pages': 'error',
|
|
21
|
+
'nextjs/no-page-custom-font': 'warn',
|
|
22
|
+
'nextjs/no-styled-jsx-in-document': 'warn',
|
|
23
|
+
'nextjs/no-sync-scripts': 'error',
|
|
24
|
+
'nextjs/no-title-in-document-head': 'warn',
|
|
25
|
+
'nextjs/no-typos': 'warn',
|
|
26
|
+
'nextjs/no-unwanted-polyfillio': 'warn',
|
|
27
|
+
'nextjs/inline-script-id': 'error',
|
|
28
|
+
'nextjs/no-assign-module-variable': 'error',
|
|
29
|
+
'nextjs/no-document-import-in-page': 'error',
|
|
30
|
+
'nextjs/no-duplicate-head': 'error',
|
|
31
|
+
'nextjs/no-head-import-in-document': 'error',
|
|
32
|
+
'nextjs/no-script-component-in-head': 'error',
|
|
36
33
|
// ignores warnings for special exports in page and layout files
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
34
|
+
'react/only-export-components': [
|
|
35
|
+
'warn',
|
|
36
|
+
{
|
|
37
|
+
// https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/src/index.ts
|
|
38
|
+
allowExportNames: [
|
|
39
|
+
// removed in next@16.0.0: https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config#version-history
|
|
40
|
+
// 'experimental_ppr',
|
|
41
|
+
'dynamic',
|
|
42
|
+
'dynamicParams',
|
|
43
|
+
'revalidate',
|
|
44
|
+
'fetchCache',
|
|
45
|
+
'runtime',
|
|
46
|
+
'preferredRegion',
|
|
47
|
+
'maxDuration',
|
|
48
|
+
'metadata',
|
|
49
|
+
'generateMetadata',
|
|
50
|
+
'viewport',
|
|
51
|
+
'generateViewport',
|
|
52
|
+
'generateImageMetadata',
|
|
53
|
+
'generateSitemaps',
|
|
54
|
+
'generateStaticParams',
|
|
46
55
|
],
|
|
47
56
|
},
|
|
48
|
-
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
ignorePatterns: ['.next/**', 'out/**', 'build/**', 'next-env.d.ts'],
|
|
60
|
+
overrides: [
|
|
49
61
|
opts.uiPath === null
|
|
50
62
|
? { files: [], rules: {} }
|
|
51
63
|
: {
|
|
@@ -53,7 +65,7 @@ function nextConfig(options) {
|
|
|
53
65
|
`${path.resolve(process.cwd(), opts.uiPath)}/**/*.{js,jsx,mjs,ts,tsx,mts,cts}`.replaceAll('//', '/'),
|
|
54
66
|
],
|
|
55
67
|
rules: {
|
|
56
|
-
'react
|
|
68
|
+
'react/only-export-components': 'off',
|
|
57
69
|
},
|
|
58
70
|
},
|
|
59
71
|
],
|
package/dist/next.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.js","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAqB,WAAW,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"next.js","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAqB,WAAW,EAA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;wBAClB,sBAAsB;qBACvB;iBACF;aACF;SACF;QACD,cAAc,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,CAAC;QACnE,SAAS,EAAE;YACT,IAAI,CAAC,MAAM,KAAK,IAAI;gBAClB,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;gBAC1B,CAAC,CAAC;oBACE,KAAK,EAAE;wBACL,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,mCAAmC,CAAC,UAAU,CACvF,IAAI,EACJ,GAAG,CACJ;qBACF;oBACD,KAAK,EAAE;wBACL,8BAA8B,EAAE,KAAK;qBACtC;iBACF;SACN;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,UAAU,EAAE,CAAC;AAEvD,eAAe,UAAU,EAAE,CAAC"}
|
package/dist/node.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
type NodeOptions = {};
|
|
3
|
-
declare function nodeConfig(
|
|
3
|
+
declare function nodeConfig(options?: Partial<NodeOptions>): {
|
|
4
4
|
extends: {
|
|
5
|
-
plugins: ("unicorn" | "typescript")[];
|
|
5
|
+
plugins: ("unicorn" | "typescript" | "import")[];
|
|
6
6
|
jsPlugins: never[];
|
|
7
7
|
categories: {
|
|
8
8
|
correctness: "error";
|
|
@@ -108,7 +108,7 @@ declare function nodeConfig(_options?: Partial<NodeOptions>): {
|
|
|
108
108
|
'unicorn/switch-case-braces': "warn";
|
|
109
109
|
'typescript/prefer-regexp-exec': "warn";
|
|
110
110
|
'eslint/init-declarations': "off";
|
|
111
|
-
'unicorn/no-null': "
|
|
111
|
+
'unicorn/no-null': "off";
|
|
112
112
|
'eslint/no-undefined': "off";
|
|
113
113
|
'eslint/no-console': "off";
|
|
114
114
|
'eslint/no-continue': "off";
|
|
@@ -121,15 +121,28 @@ declare function nodeConfig(_options?: Partial<NodeOptions>): {
|
|
|
121
121
|
'eslint/no-empty-function': ["warn", {
|
|
122
122
|
allow: string[];
|
|
123
123
|
}];
|
|
124
|
+
'unicorn/no-instanceof-builtins': "off";
|
|
125
|
+
'unicorn/prefer-spread': "off";
|
|
126
|
+
'eslint/new-cap': "off";
|
|
127
|
+
'unicorn/no-await-expression-member': "off";
|
|
124
128
|
'eslint/no-duplicate-imports': ["warn", {
|
|
125
129
|
allowSeparateTypeImports: boolean;
|
|
126
130
|
}];
|
|
131
|
+
'import/no-named-export': "off";
|
|
132
|
+
'import/no-default-export': "off";
|
|
133
|
+
'import/prefer-default-export': "off";
|
|
134
|
+
'import/no-namespace': "off";
|
|
135
|
+
'import/exports-last': "off";
|
|
136
|
+
'import/no-unassigned-import': "off";
|
|
137
|
+
'import/group-exports': "off";
|
|
138
|
+
'import/consistent-type-specifier-style': "off";
|
|
127
139
|
'unicorn/no-new-array': "off";
|
|
128
140
|
'eslint/no-array-constructor': "warn";
|
|
129
141
|
'typescript/explicit-function-return-type': "off";
|
|
130
142
|
'typescript/explicit-module-boundary-types': "off";
|
|
131
143
|
'unicorn/no-anonymous-default-export': "off";
|
|
132
144
|
'eslint/sort-imports': "off";
|
|
145
|
+
'import/no-relative-parent-imports': "off";
|
|
133
146
|
'eslint/no-magic-numbers': "off";
|
|
134
147
|
'unicorn/prefer-modern-math-apis': "off";
|
|
135
148
|
'eslint/no-use-before-define': "off";
|
|
@@ -149,14 +162,21 @@ declare function nodeConfig(_options?: Partial<NodeOptions>): {
|
|
|
149
162
|
'oxc/no-async-await': "off";
|
|
150
163
|
};
|
|
151
164
|
}[];
|
|
165
|
+
plugins: ("unicorn" | "typescript" | "import")[];
|
|
152
166
|
env: {
|
|
153
167
|
node: true;
|
|
154
168
|
};
|
|
169
|
+
rules: {
|
|
170
|
+
'eslint/no-underscore-dangle': ["warn", {
|
|
171
|
+
allow: string[];
|
|
172
|
+
}];
|
|
173
|
+
'no-nodejs-modules': "off";
|
|
174
|
+
};
|
|
155
175
|
};
|
|
156
176
|
export { type OxlintConfig, defineConfig, nodeConfig };
|
|
157
177
|
declare const _default: {
|
|
158
178
|
extends: {
|
|
159
|
-
plugins: ("unicorn" | "typescript")[];
|
|
179
|
+
plugins: ("unicorn" | "typescript" | "import")[];
|
|
160
180
|
jsPlugins: never[];
|
|
161
181
|
categories: {
|
|
162
182
|
correctness: "error";
|
|
@@ -262,7 +282,7 @@ declare const _default: {
|
|
|
262
282
|
'unicorn/switch-case-braces': "warn";
|
|
263
283
|
'typescript/prefer-regexp-exec': "warn";
|
|
264
284
|
'eslint/init-declarations': "off";
|
|
265
|
-
'unicorn/no-null': "
|
|
285
|
+
'unicorn/no-null': "off";
|
|
266
286
|
'eslint/no-undefined': "off";
|
|
267
287
|
'eslint/no-console': "off";
|
|
268
288
|
'eslint/no-continue': "off";
|
|
@@ -275,15 +295,28 @@ declare const _default: {
|
|
|
275
295
|
'eslint/no-empty-function': ["warn", {
|
|
276
296
|
allow: string[];
|
|
277
297
|
}];
|
|
298
|
+
'unicorn/no-instanceof-builtins': "off";
|
|
299
|
+
'unicorn/prefer-spread': "off";
|
|
300
|
+
'eslint/new-cap': "off";
|
|
301
|
+
'unicorn/no-await-expression-member': "off";
|
|
278
302
|
'eslint/no-duplicate-imports': ["warn", {
|
|
279
303
|
allowSeparateTypeImports: boolean;
|
|
280
304
|
}];
|
|
305
|
+
'import/no-named-export': "off";
|
|
306
|
+
'import/no-default-export': "off";
|
|
307
|
+
'import/prefer-default-export': "off";
|
|
308
|
+
'import/no-namespace': "off";
|
|
309
|
+
'import/exports-last': "off";
|
|
310
|
+
'import/no-unassigned-import': "off";
|
|
311
|
+
'import/group-exports': "off";
|
|
312
|
+
'import/consistent-type-specifier-style': "off";
|
|
281
313
|
'unicorn/no-new-array': "off";
|
|
282
314
|
'eslint/no-array-constructor': "warn";
|
|
283
315
|
'typescript/explicit-function-return-type': "off";
|
|
284
316
|
'typescript/explicit-module-boundary-types': "off";
|
|
285
317
|
'unicorn/no-anonymous-default-export': "off";
|
|
286
318
|
'eslint/sort-imports': "off";
|
|
319
|
+
'import/no-relative-parent-imports': "off";
|
|
287
320
|
'eslint/no-magic-numbers': "off";
|
|
288
321
|
'unicorn/prefer-modern-math-apis': "off";
|
|
289
322
|
'eslint/no-use-before-define': "off";
|
|
@@ -303,9 +336,16 @@ declare const _default: {
|
|
|
303
336
|
'oxc/no-async-await': "off";
|
|
304
337
|
};
|
|
305
338
|
}[];
|
|
339
|
+
plugins: ("unicorn" | "typescript" | "import")[];
|
|
306
340
|
env: {
|
|
307
341
|
node: true;
|
|
308
342
|
};
|
|
343
|
+
rules: {
|
|
344
|
+
'eslint/no-underscore-dangle': ["warn", {
|
|
345
|
+
allow: string[];
|
|
346
|
+
}];
|
|
347
|
+
'no-nodejs-modules': "off";
|
|
348
|
+
};
|
|
309
349
|
};
|
|
310
350
|
export default _default;
|
|
311
351
|
//# sourceMappingURL=node.d.ts.map
|
package/dist/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,KAAK,WAAW,GAAG,EAAE,CAAC;AAItB,iBAAS,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBjD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,wBAA4B"}
|
package/dist/node.js
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { defineConfig } from 'oxlint';
|
|
2
2
|
import { baseConfig } from './base.js';
|
|
3
3
|
// const DEFAULT_OPTIONS: NodeOptions = {};
|
|
4
|
-
function nodeConfig(
|
|
4
|
+
function nodeConfig(options) {
|
|
5
5
|
// const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
6
|
+
const base = baseConfig(options);
|
|
6
7
|
return defineConfig({
|
|
7
|
-
extends: [
|
|
8
|
+
extends: [base],
|
|
9
|
+
// when changing plugins the parent plugins need to be extended, otherwise they are overridden
|
|
10
|
+
plugins: base.plugins,
|
|
8
11
|
env: {
|
|
9
12
|
node: true,
|
|
10
13
|
},
|
|
14
|
+
rules: {
|
|
15
|
+
'eslint/no-underscore-dangle': [
|
|
16
|
+
'warn',
|
|
17
|
+
{ allow: ['__dirname', '__filename'] },
|
|
18
|
+
],
|
|
19
|
+
'no-nodejs-modules': 'off',
|
|
20
|
+
},
|
|
11
21
|
});
|
|
12
22
|
}
|
|
13
23
|
export { defineConfig, nodeConfig };
|
package/dist/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,2CAA2C;AAE3C,SAAS,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,2CAA2C;AAE3C,SAAS,UAAU,CAAC,OAA8B;IAChD,mDAAmD;IAEnD,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjC,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,8FAA8F;QAC9F,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,GAAG,EAAE;YACH,IAAI,EAAE,IAAI;SACX;QAED,KAAK,EAAE;YACL,6BAA6B,EAAE;gBAC7B,MAAM;gBACN,EAAE,KAAK,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,EAAE;aACvC;YACD,mBAAmB,EAAE,KAAK;SAC3B;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,UAAU,EAAE,CAAC;AAEvD,eAAe,UAAU,EAAE,CAAC"}
|
package/dist/react.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineConfig, type OxlintConfig } from 'oxlint';
|
|
2
2
|
export type ReactOptions = {};
|
|
3
|
-
declare function reactConfig(
|
|
3
|
+
declare function reactConfig(options?: Partial<ReactOptions>): {
|
|
4
4
|
extends: {
|
|
5
|
-
plugins: ("unicorn" | "typescript")[];
|
|
5
|
+
plugins: ("unicorn" | "typescript" | "import")[];
|
|
6
6
|
jsPlugins: never[];
|
|
7
7
|
categories: {
|
|
8
8
|
correctness: "error";
|
|
@@ -108,7 +108,7 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
|
|
|
108
108
|
'unicorn/switch-case-braces': "warn";
|
|
109
109
|
'typescript/prefer-regexp-exec': "warn";
|
|
110
110
|
'eslint/init-declarations': "off";
|
|
111
|
-
'unicorn/no-null': "
|
|
111
|
+
'unicorn/no-null': "off";
|
|
112
112
|
'eslint/no-undefined': "off";
|
|
113
113
|
'eslint/no-console': "off";
|
|
114
114
|
'eslint/no-continue': "off";
|
|
@@ -121,15 +121,28 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
|
|
|
121
121
|
'eslint/no-empty-function': ["warn", {
|
|
122
122
|
allow: string[];
|
|
123
123
|
}];
|
|
124
|
+
'unicorn/no-instanceof-builtins': "off";
|
|
125
|
+
'unicorn/prefer-spread': "off";
|
|
126
|
+
'eslint/new-cap': "off";
|
|
127
|
+
'unicorn/no-await-expression-member': "off";
|
|
124
128
|
'eslint/no-duplicate-imports': ["warn", {
|
|
125
129
|
allowSeparateTypeImports: boolean;
|
|
126
130
|
}];
|
|
131
|
+
'import/no-named-export': "off";
|
|
132
|
+
'import/no-default-export': "off";
|
|
133
|
+
'import/prefer-default-export': "off";
|
|
134
|
+
'import/no-namespace': "off";
|
|
135
|
+
'import/exports-last': "off";
|
|
136
|
+
'import/no-unassigned-import': "off";
|
|
137
|
+
'import/group-exports': "off";
|
|
138
|
+
'import/consistent-type-specifier-style': "off";
|
|
127
139
|
'unicorn/no-new-array': "off";
|
|
128
140
|
'eslint/no-array-constructor': "warn";
|
|
129
141
|
'typescript/explicit-function-return-type': "off";
|
|
130
142
|
'typescript/explicit-module-boundary-types': "off";
|
|
131
143
|
'unicorn/no-anonymous-default-export': "off";
|
|
132
144
|
'eslint/sort-imports': "off";
|
|
145
|
+
'import/no-relative-parent-imports': "off";
|
|
133
146
|
'eslint/no-magic-numbers': "off";
|
|
134
147
|
'unicorn/prefer-modern-math-apis': "off";
|
|
135
148
|
'eslint/no-use-before-define': "off";
|
|
@@ -149,17 +162,23 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
|
|
|
149
162
|
'oxc/no-async-await': "off";
|
|
150
163
|
};
|
|
151
164
|
}[];
|
|
152
|
-
plugins: "react"[];
|
|
165
|
+
plugins: ("react" | "unicorn" | "typescript" | "import")[];
|
|
153
166
|
jsPlugins: {
|
|
154
167
|
name: string;
|
|
155
168
|
specifier: string;
|
|
156
169
|
}[];
|
|
157
170
|
rules: {
|
|
158
|
-
'react
|
|
159
|
-
'react
|
|
171
|
+
'react/rules-of-hooks': "error";
|
|
172
|
+
'react/exhaustive-deps': "warn";
|
|
160
173
|
'react-hooks-js/set-state-in-effect': "warn";
|
|
161
|
-
'react
|
|
174
|
+
'react/only-export-components': "error";
|
|
162
175
|
'react-compiler-js/react-compiler': "error";
|
|
176
|
+
'react/jsx-filename-extension': "off";
|
|
177
|
+
'react/jsx-max-depth': "off";
|
|
178
|
+
'react/no-multi-comp': "off";
|
|
179
|
+
'react/jsx-props-no-spreading': "off";
|
|
180
|
+
'react/forbid-component-props': "off";
|
|
181
|
+
'react/forbid-dom-props': "off";
|
|
163
182
|
};
|
|
164
183
|
overrides: {
|
|
165
184
|
files: string[];
|
|
@@ -212,7 +231,7 @@ declare function reactConfig(_options?: Partial<ReactOptions>): {
|
|
|
212
231
|
export { type OxlintConfig, defineConfig, reactConfig };
|
|
213
232
|
declare const _default: {
|
|
214
233
|
extends: {
|
|
215
|
-
plugins: ("unicorn" | "typescript")[];
|
|
234
|
+
plugins: ("unicorn" | "typescript" | "import")[];
|
|
216
235
|
jsPlugins: never[];
|
|
217
236
|
categories: {
|
|
218
237
|
correctness: "error";
|
|
@@ -318,7 +337,7 @@ declare const _default: {
|
|
|
318
337
|
'unicorn/switch-case-braces': "warn";
|
|
319
338
|
'typescript/prefer-regexp-exec': "warn";
|
|
320
339
|
'eslint/init-declarations': "off";
|
|
321
|
-
'unicorn/no-null': "
|
|
340
|
+
'unicorn/no-null': "off";
|
|
322
341
|
'eslint/no-undefined': "off";
|
|
323
342
|
'eslint/no-console': "off";
|
|
324
343
|
'eslint/no-continue': "off";
|
|
@@ -331,15 +350,28 @@ declare const _default: {
|
|
|
331
350
|
'eslint/no-empty-function': ["warn", {
|
|
332
351
|
allow: string[];
|
|
333
352
|
}];
|
|
353
|
+
'unicorn/no-instanceof-builtins': "off";
|
|
354
|
+
'unicorn/prefer-spread': "off";
|
|
355
|
+
'eslint/new-cap': "off";
|
|
356
|
+
'unicorn/no-await-expression-member': "off";
|
|
334
357
|
'eslint/no-duplicate-imports': ["warn", {
|
|
335
358
|
allowSeparateTypeImports: boolean;
|
|
336
359
|
}];
|
|
360
|
+
'import/no-named-export': "off";
|
|
361
|
+
'import/no-default-export': "off";
|
|
362
|
+
'import/prefer-default-export': "off";
|
|
363
|
+
'import/no-namespace': "off";
|
|
364
|
+
'import/exports-last': "off";
|
|
365
|
+
'import/no-unassigned-import': "off";
|
|
366
|
+
'import/group-exports': "off";
|
|
367
|
+
'import/consistent-type-specifier-style': "off";
|
|
337
368
|
'unicorn/no-new-array': "off";
|
|
338
369
|
'eslint/no-array-constructor': "warn";
|
|
339
370
|
'typescript/explicit-function-return-type': "off";
|
|
340
371
|
'typescript/explicit-module-boundary-types': "off";
|
|
341
372
|
'unicorn/no-anonymous-default-export': "off";
|
|
342
373
|
'eslint/sort-imports': "off";
|
|
374
|
+
'import/no-relative-parent-imports': "off";
|
|
343
375
|
'eslint/no-magic-numbers': "off";
|
|
344
376
|
'unicorn/prefer-modern-math-apis': "off";
|
|
345
377
|
'eslint/no-use-before-define': "off";
|
|
@@ -359,17 +391,23 @@ declare const _default: {
|
|
|
359
391
|
'oxc/no-async-await': "off";
|
|
360
392
|
};
|
|
361
393
|
}[];
|
|
362
|
-
plugins: "react"[];
|
|
394
|
+
plugins: ("react" | "unicorn" | "typescript" | "import")[];
|
|
363
395
|
jsPlugins: {
|
|
364
396
|
name: string;
|
|
365
397
|
specifier: string;
|
|
366
398
|
}[];
|
|
367
399
|
rules: {
|
|
368
|
-
'react
|
|
369
|
-
'react
|
|
400
|
+
'react/rules-of-hooks': "error";
|
|
401
|
+
'react/exhaustive-deps': "warn";
|
|
370
402
|
'react-hooks-js/set-state-in-effect': "warn";
|
|
371
|
-
'react
|
|
403
|
+
'react/only-export-components': "error";
|
|
372
404
|
'react-compiler-js/react-compiler': "error";
|
|
405
|
+
'react/jsx-filename-extension': "off";
|
|
406
|
+
'react/jsx-max-depth': "off";
|
|
407
|
+
'react/no-multi-comp': "off";
|
|
408
|
+
'react/jsx-props-no-spreading': "off";
|
|
409
|
+
'react/forbid-component-props': "off";
|
|
410
|
+
'react/forbid-dom-props': "off";
|
|
373
411
|
};
|
|
374
412
|
overrides: {
|
|
375
413
|
files: string[];
|
package/dist/react.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,MAAM,MAAM,YAAY,GAAG,EAAE,CAAC;AAI9B,iBAAS,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGzD,MAAM,MAAM,YAAY,GAAG,EAAE,CAAC;AAI9B,iBAAS,WAAW,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkFnD;AAED,OAAO,EAAE,KAAK,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,wBAA6B"}
|
package/dist/react.js
CHANGED
|
@@ -1,22 +1,35 @@
|
|
|
1
1
|
import { defineConfig } from 'oxlint';
|
|
2
2
|
import { baseConfig } from './base.js';
|
|
3
3
|
// const DEFAULT_OPTIONS: ReactOptions = {};
|
|
4
|
-
function reactConfig(
|
|
4
|
+
function reactConfig(options) {
|
|
5
5
|
// const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
6
|
+
const base = baseConfig(options);
|
|
6
7
|
return defineConfig({
|
|
7
|
-
extends: [
|
|
8
|
-
plugins: ['react'],
|
|
8
|
+
extends: [base],
|
|
9
|
+
plugins: [...base.plugins, 'react'],
|
|
9
10
|
jsPlugins: [
|
|
11
|
+
// react compiler is not yet supported by oxc
|
|
12
|
+
// https://github.com/oxc-project/oxc/issues/10048
|
|
13
|
+
// this means compiler related rules are not yet supported
|
|
14
|
+
// https://github.com/oxc-project/oxc/issues/1022
|
|
15
|
+
// react compiler port to rust may enable compiler related rules
|
|
16
|
+
// https://github.com/facebook/react/pull/36173
|
|
10
17
|
{ name: 'react-hooks-js', specifier: 'eslint-plugin-react-hooks' },
|
|
11
|
-
{ name: 'react-refresh-js', specifier: 'eslint-plugin-react-refresh' },
|
|
12
18
|
{ name: 'react-compiler-js', specifier: 'eslint-plugin-react-compiler' },
|
|
13
19
|
],
|
|
14
20
|
rules: {
|
|
15
|
-
'react
|
|
16
|
-
'react
|
|
21
|
+
'react/rules-of-hooks': 'error',
|
|
22
|
+
'react/exhaustive-deps': 'warn',
|
|
17
23
|
'react-hooks-js/set-state-in-effect': 'warn',
|
|
18
|
-
'react
|
|
24
|
+
'react/only-export-components': 'error',
|
|
19
25
|
'react-compiler-js/react-compiler': 'error',
|
|
26
|
+
'react/jsx-filename-extension': 'off',
|
|
27
|
+
'react/jsx-max-depth': 'off',
|
|
28
|
+
'react/no-multi-comp': 'off',
|
|
29
|
+
'react/jsx-props-no-spreading': 'off',
|
|
30
|
+
// conflicts with tailwind
|
|
31
|
+
'react/forbid-component-props': 'off',
|
|
32
|
+
'react/forbid-dom-props': 'off',
|
|
20
33
|
},
|
|
21
34
|
overrides: [
|
|
22
35
|
{
|
package/dist/react.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.js","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,4CAA4C;AAE5C,SAAS,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"react.js","sourceRoot":"","sources":["../src/react.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,4CAA4C;AAE5C,SAAS,WAAW,CAAC,OAA+B;IAClD,mDAAmD;IAEnD,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjC,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC;QACnC,SAAS,EAAE;YACT,6CAA6C;YAC7C,kDAAkD;YAClD,0DAA0D;YAC1D,iDAAiD;YACjD,gEAAgE;YAChE,+CAA+C;YAC/C,EAAE,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,2BAA2B,EAAE;YAClE,EAAE,IAAI,EAAE,mBAAm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,MAAM;oBAC/C,mCAAmC,EAAE,MAAM;iBAC5C;gBACD,OAAO,EAAE;oBACP,uBAAuB,EAAE,UAAU;oBACnC,qBAAqB,EAAE,UAAU;oBACjC,YAAY,EAAE,UAAU;oBACxB,WAAW,EAAE,UAAU;oBACvB,iBAAiB,EAAE,UAAU;oBAC7B,UAAU,EAAE,UAAU;oBACtB,kBAAkB,EAAE,UAAU;iBAC/B;gBACD,OAAO,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;gBAC/B,GAAG,EAAE;oBACH,OAAO,EAAE,IAAI;oBACb,IAAI,EAAE,IAAI;iBACX;aACF;SACF;KACF,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EAAqB,YAAY,EAAE,WAAW,EAAE,CAAC;AAExD,eAAe,WAAW,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4mbl/lint",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.b5248e1",
|
|
4
4
|
"description": "Linting configuration for various environments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "4mbl",
|
|
@@ -32,16 +32,13 @@
|
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
35
|
-
"eslint-plugin-react-hooks": "
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"jiti": "^2.6.1",
|
|
39
|
-
"oxlint": "^1.60.0",
|
|
40
|
-
"oxlint-tsgolint": "^0.21.1"
|
|
35
|
+
"eslint-plugin-react-hooks": "7.1.1",
|
|
36
|
+
"oxlint": "1.64.x",
|
|
37
|
+
"oxlint-tsgolint": "0.22.x"
|
|
41
38
|
},
|
|
42
39
|
"devDependencies": {
|
|
43
|
-
"@types/node": "^24.12.
|
|
44
|
-
"@4mbl/tsconfig": "0.0.0-alpha.
|
|
40
|
+
"@types/node": "^24.12.4",
|
|
41
|
+
"@4mbl/tsconfig": "0.0.0-alpha.b5248e1"
|
|
45
42
|
},
|
|
46
43
|
"scripts": {
|
|
47
44
|
"build": "tsc"
|