@elliemae/pui-cli 9.0.0-alpha.2 → 9.0.0-alpha.3
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/dist/cjs/lint-config/eslint/flat/common.mjs +0 -5
- package/dist/cjs/lint-config/eslint/flat/presets.mjs +1 -0
- package/dist/cjs/lint-config/eslint/flat/rules.mjs +2 -17
- package/dist/esm/lint-config/eslint/flat/common.mjs +0 -5
- package/dist/esm/lint-config/eslint/flat/presets.mjs +1 -0
- package/dist/esm/lint-config/eslint/flat/rules.mjs +2 -17
- package/dist/types/lib/lint-config/eslint/flat/rules.d.mts +4 -12
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/lib/lint-config/eslint/flat/common.mjs +0 -5
- package/lib/lint-config/eslint/flat/presets.mjs +1 -0
- package/lib/lint-config/eslint/flat/rules.mjs +2 -17
- package/package.json +1 -1
|
@@ -11,7 +11,6 @@ import tseslint from 'typescript-eslint';
|
|
|
11
11
|
import {
|
|
12
12
|
jestRecommendedRules,
|
|
13
13
|
sharedCoreRules,
|
|
14
|
-
storybookFiles,
|
|
15
14
|
testFiles,
|
|
16
15
|
testJsxFiles,
|
|
17
16
|
testingLibraryDomRules,
|
|
@@ -135,10 +134,6 @@ export function createBaseFlatConfigs(tsRules) {
|
|
|
135
134
|
complexity: 'off',
|
|
136
135
|
},
|
|
137
136
|
},
|
|
138
|
-
{
|
|
139
|
-
files: storybookFiles,
|
|
140
|
-
rules: { 'import-x/no-extraneous-dependencies': 'off' },
|
|
141
|
-
},
|
|
142
137
|
{
|
|
143
138
|
files: ['**/lint-config/**'],
|
|
144
139
|
rules: {
|
|
@@ -6,23 +6,8 @@ export const baseRules = {
|
|
|
6
6
|
'import-x/imports-first': 'off',
|
|
7
7
|
'import-x/newline-after-import': 'off',
|
|
8
8
|
'import-x/no-dynamic-require': 'off',
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
devDependencies: [
|
|
13
|
-
'**/*.{test,spec,stories}.{js,jsx,ts,tsx}',
|
|
14
|
-
'**/.storybook/**',
|
|
15
|
-
'**/eslint.config.{mjs,cjs,js}',
|
|
16
|
-
'**/*.{config,conf}.{ts,js,cjs,mjs}',
|
|
17
|
-
'**/scripts/**',
|
|
18
|
-
'**/ci_cd/**',
|
|
19
|
-
'**/lint-config/**',
|
|
20
|
-
'**/lib/testing/**',
|
|
21
|
-
'**/lib/transpile/**',
|
|
22
|
-
'**/mocks/**',
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
],
|
|
9
|
+
// Off — legacy parity; PUI apps import via @elliemae/app-react-dependencies (not direct package.json entries).
|
|
10
|
+
'import-x/no-extraneous-dependencies': 'off',
|
|
26
11
|
'import-x/no-named-as-default': 'off',
|
|
27
12
|
'import-x/no-unresolved': [
|
|
28
13
|
'error',
|
|
@@ -11,7 +11,6 @@ import tseslint from 'typescript-eslint';
|
|
|
11
11
|
import {
|
|
12
12
|
jestRecommendedRules,
|
|
13
13
|
sharedCoreRules,
|
|
14
|
-
storybookFiles,
|
|
15
14
|
testFiles,
|
|
16
15
|
testJsxFiles,
|
|
17
16
|
testingLibraryDomRules,
|
|
@@ -135,10 +134,6 @@ export function createBaseFlatConfigs(tsRules) {
|
|
|
135
134
|
complexity: 'off',
|
|
136
135
|
},
|
|
137
136
|
},
|
|
138
|
-
{
|
|
139
|
-
files: storybookFiles,
|
|
140
|
-
rules: { 'import-x/no-extraneous-dependencies': 'off' },
|
|
141
|
-
},
|
|
142
137
|
{
|
|
143
138
|
files: ['**/lint-config/**'],
|
|
144
139
|
rules: {
|
|
@@ -6,23 +6,8 @@ export const baseRules = {
|
|
|
6
6
|
'import-x/imports-first': 'off',
|
|
7
7
|
'import-x/newline-after-import': 'off',
|
|
8
8
|
'import-x/no-dynamic-require': 'off',
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
devDependencies: [
|
|
13
|
-
'**/*.{test,spec,stories}.{js,jsx,ts,tsx}',
|
|
14
|
-
'**/.storybook/**',
|
|
15
|
-
'**/eslint.config.{mjs,cjs,js}',
|
|
16
|
-
'**/*.{config,conf}.{ts,js,cjs,mjs}',
|
|
17
|
-
'**/scripts/**',
|
|
18
|
-
'**/ci_cd/**',
|
|
19
|
-
'**/lint-config/**',
|
|
20
|
-
'**/lib/testing/**',
|
|
21
|
-
'**/lib/transpile/**',
|
|
22
|
-
'**/mocks/**',
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
],
|
|
9
|
+
// Off — legacy parity; PUI apps import via @elliemae/app-react-dependencies (not direct package.json entries).
|
|
10
|
+
'import-x/no-extraneous-dependencies': 'off',
|
|
26
11
|
'import-x/no-named-as-default': 'off',
|
|
27
12
|
'import-x/no-unresolved': [
|
|
28
13
|
'error',
|
|
@@ -5,9 +5,7 @@ export const baseRules: {
|
|
|
5
5
|
'import-x/imports-first': string;
|
|
6
6
|
'import-x/newline-after-import': string;
|
|
7
7
|
'import-x/no-dynamic-require': string;
|
|
8
|
-
'import-x/no-extraneous-dependencies':
|
|
9
|
-
devDependencies: string[];
|
|
10
|
-
})[];
|
|
8
|
+
'import-x/no-extraneous-dependencies': string;
|
|
11
9
|
'import-x/no-named-as-default': string;
|
|
12
10
|
'import-x/no-unresolved': (string | {
|
|
13
11
|
caseSensitive: boolean;
|
|
@@ -68,9 +66,7 @@ export const jsRules: {
|
|
|
68
66
|
'import-x/imports-first': string;
|
|
69
67
|
'import-x/newline-after-import': string;
|
|
70
68
|
'import-x/no-dynamic-require': string;
|
|
71
|
-
'import-x/no-extraneous-dependencies':
|
|
72
|
-
devDependencies: string[];
|
|
73
|
-
})[];
|
|
69
|
+
'import-x/no-extraneous-dependencies': string;
|
|
74
70
|
'import-x/no-named-as-default': string;
|
|
75
71
|
'import-x/no-unresolved': (string | {
|
|
76
72
|
caseSensitive: boolean;
|
|
@@ -155,9 +151,7 @@ export const typescriptRules: {
|
|
|
155
151
|
'import-x/imports-first': string;
|
|
156
152
|
'import-x/newline-after-import': string;
|
|
157
153
|
'import-x/no-dynamic-require': string;
|
|
158
|
-
'import-x/no-extraneous-dependencies':
|
|
159
|
-
devDependencies: string[];
|
|
160
|
-
})[];
|
|
154
|
+
'import-x/no-extraneous-dependencies': string;
|
|
161
155
|
'import-x/no-named-as-default': string;
|
|
162
156
|
'import-x/no-unresolved': (string | {
|
|
163
157
|
caseSensitive: boolean;
|
|
@@ -243,9 +237,7 @@ export const typescriptStrictRules: {
|
|
|
243
237
|
'import-x/imports-first': string;
|
|
244
238
|
'import-x/newline-after-import': string;
|
|
245
239
|
'import-x/no-dynamic-require': string;
|
|
246
|
-
'import-x/no-extraneous-dependencies':
|
|
247
|
-
devDependencies: string[];
|
|
248
|
-
})[];
|
|
240
|
+
'import-x/no-extraneous-dependencies': string;
|
|
249
241
|
'import-x/no-named-as-default': string;
|
|
250
242
|
'import-x/no-unresolved': (string | {
|
|
251
243
|
caseSensitive: boolean;
|