mikey-pro 10.3.9 → 10.3.11
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 +3 -1
- package/eslint-config/base-config.js +15 -0
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ AI agent code quality guardrails — ESLint 10, Prettier, and Stylelint in one i
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install --save-dev mikey-pro eslint prettier stylelint
|
|
10
|
+
npm install --save-dev mikey-pro eslint prettier stylelint@^17
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
For framework projects, install the framework variant instead (mikey-pro comes transitively):
|
|
@@ -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.11",
|
|
4
4
|
"description": "AI agent code quality guardrails — ESLint, Prettier, and Stylelint unified config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -38,7 +38,10 @@
|
|
|
38
38
|
"globals": "^17.4.0",
|
|
39
39
|
"jsonc-eslint-parser": "^3.1.0",
|
|
40
40
|
"postcss": "^8.5.8",
|
|
41
|
+
"postcss-html": "^1.8.1",
|
|
41
42
|
"postcss-scss": "^4.0.9",
|
|
43
|
+
"stylelint-config-html": "^1.1.0",
|
|
44
|
+
"stylelint-config-recommended": "^18.0.0",
|
|
42
45
|
"stylelint-config-recommended-vue": "^1.6.1",
|
|
43
46
|
"stylelint-config-standard": "^40.0.0",
|
|
44
47
|
"stylelint-config-standard-scss": "^17.0.0",
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
"peerDependencies": {
|
|
53
56
|
"eslint": "^10.0.0",
|
|
54
57
|
"prettier": ">=3.0.0",
|
|
55
|
-
"stylelint": "^
|
|
58
|
+
"stylelint": "^17.0.0"
|
|
56
59
|
},
|
|
57
60
|
"peerDependenciesMeta": {
|
|
58
61
|
"typescript": {
|
|
@@ -146,9 +149,7 @@
|
|
|
146
149
|
"angular"
|
|
147
150
|
],
|
|
148
151
|
"author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
|
|
149
|
-
"browserslist": [
|
|
150
|
-
"defaults"
|
|
151
|
-
],
|
|
152
|
+
"browserslist": ["defaults"],
|
|
152
153
|
"engines": {
|
|
153
154
|
"node": ">=20.19.0",
|
|
154
155
|
"npm": ">=9.0.0",
|