mikey-pro 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/README.md +2 -0
- package/eslint-config/base-config.js +15 -0
- package/package.json +2 -4
package/README.md
CHANGED
|
@@ -19,6 +19,8 @@ npm install --save-dev @mikey-pro/eslint-config-svelte eslint prettier # Svelt
|
|
|
19
19
|
npm install --save-dev @mikey-pro/eslint-config-angular eslint prettier # Angular
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
> **TypeScript 7 is not yet supported by typescript-eslint.** Keep `typescript` below 6.1 (for example `typescript@~6.0`) for linting until typescript-eslint adds TS 7 support.
|
|
23
|
+
|
|
22
24
|
## Setup
|
|
23
25
|
|
|
24
26
|
**eslint.config.js**
|
|
@@ -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",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.10",
|
|
4
4
|
"description": "AI agent code quality guardrails — ESLint, Prettier, and Stylelint unified config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -146,9 +146,7 @@
|
|
|
146
146
|
"angular"
|
|
147
147
|
],
|
|
148
148
|
"author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
|
|
149
|
-
"browserslist": [
|
|
150
|
-
"defaults"
|
|
151
|
-
],
|
|
149
|
+
"browserslist": ["defaults"],
|
|
152
150
|
"engines": {
|
|
153
151
|
"node": ">=20.19.0",
|
|
154
152
|
"npm": ">=9.0.0",
|