@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',
|