@mikey-pro/eslint-config 10.3.9 → 10.3.10
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/base-config.js +15 -0
- package/package.json +2 -4
package/base-config.js
CHANGED
|
@@ -118,6 +118,21 @@ export const baseConfig = {
|
|
|
118
118
|
{
|
|
119
119
|
devDependencies: [
|
|
120
120
|
'**/*.{test,spec}.{js,jsx,mjs,cjs,ts,tsx,mts,cts}',
|
|
121
|
+
// Cypress specs: the `cypressConfig` override (overrides.js) already
|
|
122
|
+
// treats `**/*.cy.*` as test files, so devDependencies must be
|
|
123
|
+
// importable from them too.
|
|
124
|
+
'**/*.cy.{js,jsx,mjs,cjs,ts,tsx,mts,cts}',
|
|
125
|
+
// End-to-end specs (`*.e2e.*`, Playwright/Vitest style) and Vitest
|
|
126
|
+
// type tests (`*.test-d.*`). Neither is a jest test, so these are
|
|
127
|
+
// allowlist-only; no jest override applies to them.
|
|
128
|
+
'**/*.e2e.{js,jsx,mjs,cjs,ts,tsx,mts,cts}',
|
|
129
|
+
'**/*.test-d.{ts,tsx,mts,cts}',
|
|
130
|
+
// Storybook config/stories. import-x's minimatch has no `dot: true`,
|
|
131
|
+
// so `**` does not cross dot-directories: `.storybook` must be named
|
|
132
|
+
// explicitly. import-x also matches each entry resolved against cwd,
|
|
133
|
+
// so this one entry covers the project-root `.storybook/` and nested
|
|
134
|
+
// monorepo packages (a separate `.storybook/**` entry is redundant).
|
|
135
|
+
'**/.storybook/**',
|
|
121
136
|
'**/__tests__/**',
|
|
122
137
|
'**/__mocks__/**',
|
|
123
138
|
'**/test/**',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.10",
|
|
4
4
|
"description": "Mikey Pro ESLint configuration - Ultimate coding style guide for excellence",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -93,9 +93,7 @@
|
|
|
93
93
|
"angular"
|
|
94
94
|
],
|
|
95
95
|
"author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
|
|
96
|
-
"browserslist": [
|
|
97
|
-
"defaults"
|
|
98
|
-
],
|
|
96
|
+
"browserslist": ["defaults"],
|
|
99
97
|
"type": "module",
|
|
100
98
|
"engines": {
|
|
101
99
|
"node": ">=20.19.0",
|