mikey-pro 10.1.0 → 10.3.0

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 CHANGED
@@ -7,16 +7,16 @@ 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
10
+ npm install --save-dev mikey-pro eslint prettier stylelint
11
11
  ```
12
12
 
13
13
  For framework projects, install the framework variant instead (mikey-pro comes transitively):
14
14
 
15
15
  ```bash
16
- npm install --save-dev @mikey-pro/eslint-config-react # React / Next.js
17
- npm install --save-dev @mikey-pro/eslint-config-vue # Vue / Nuxt
18
- npm install --save-dev @mikey-pro/eslint-config-svelte # Svelte / SvelteKit
19
- npm install --save-dev @mikey-pro/eslint-config-angular # Angular
16
+ npm install --save-dev @mikey-pro/eslint-config-react eslint prettier # React / Next.js
17
+ npm install --save-dev @mikey-pro/eslint-config-vue eslint prettier # Vue / Nuxt
18
+ npm install --save-dev @mikey-pro/eslint-config-svelte eslint prettier # Svelte / SvelteKit
19
+ npm install --save-dev @mikey-pro/eslint-config-angular eslint prettier # Angular
20
20
  ```
21
21
 
22
22
  ## Setup
@@ -74,7 +74,7 @@ export const baseConfig = {
74
74
  sourceType: 'module',
75
75
  },
76
76
  linterOptions: {
77
- noInlineConfig: true,
77
+ noInlineConfig: false,
78
78
  reportUnusedDisableDirectives: true,
79
79
  },
80
80
  rules: {
@@ -96,7 +96,7 @@ export const baseConfig = {
96
96
  'guard-for-in': 'error',
97
97
 
98
98
  // Import/Export rules
99
- 'import-x/consistent-type-specifier-style': ['error', 'prefer-top-level'],
99
+ 'import-x/consistent-type-specifier-style': 'off',
100
100
  'import-x/default': 'off',
101
101
  'import-x/export': 'error',
102
102
  'import-x/extensions': [
@@ -179,11 +179,11 @@ export const baseConfig = {
179
179
  'max-depth': ['error', 3],
180
180
  'max-lines': [
181
181
  'error',
182
- { max: 300, skipBlankLines: true, skipComments: true },
182
+ { max: 500, skipBlankLines: true, skipComments: true },
183
183
  ],
184
184
  'max-lines-per-function': [
185
185
  'error',
186
- { max: 50, skipBlankLines: true, skipComments: true },
186
+ { max: 100, skipBlankLines: true, skipComments: true },
187
187
  ],
188
188
  'max-params': ['error', 3],
189
189
  // Node.js rules
@@ -386,6 +386,11 @@ export const baseConfig = {
386
386
  'symbol-description': 'error',
387
387
 
388
388
  'unicorn/expiring-todo-comments': 'off',
389
+ 'unicorn/no-array-for-each': 'off',
390
+ 'unicorn/no-keyword-prefix': 'off',
391
+ 'unicorn/no-null': 'off',
392
+ 'unicorn/prefer-query-selector': 'off',
393
+ 'unicorn/prefer-spread': 'off',
389
394
  'unicorn/filename-case': [
390
395
  'error',
391
396
  {
@@ -396,7 +401,7 @@ export const baseConfig = {
396
401
  'unicorn/no-array-callback-reference': 'off',
397
402
  'unicorn/no-useless-undefined': ['error', { checkArguments: true }],
398
403
  'unicorn/prefer-array-flat': ['error', { functions: ['flatten'] }],
399
- 'unicorn/prefer-at': 'error',
404
+ 'unicorn/prefer-at': 'off',
400
405
  'unicorn/prefer-blob-reading-methods': 'error',
401
406
  'unicorn/prefer-string-replace-all': 'error',
402
407
  'unicorn/prefer-string-slice': 'error',
@@ -175,15 +175,7 @@ export const ts = {
175
175
  '@typescript-eslint/prefer-return-this-type': 'error',
176
176
  '@typescript-eslint/prefer-string-starts-ends-with': 'error',
177
177
  '@typescript-eslint/prefer-ts-expect-error': 'error',
178
- '@typescript-eslint/promise-function-async': [
179
- 'error',
180
- {
181
- checkArrowFunctions: true,
182
- checkFunctionDeclarations: true,
183
- checkFunctionExpressions: true,
184
- checkMethodDeclarations: true,
185
- },
186
- ],
178
+ '@typescript-eslint/promise-function-async': 'off',
187
179
  '@typescript-eslint/require-array-sort-compare': [
188
180
  'error',
189
181
  { ignoreStringArrays: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mikey-pro",
3
- "version": "10.1.0",
3
+ "version": "10.3.0",
4
4
  "description": "AI agent code quality guardrails — ESLint, Prettier, and Stylelint unified config",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -12,7 +12,7 @@
12
12
  "@html-eslint/parser": "^0.57.1",
13
13
  "@typescript-eslint/eslint-plugin": "^8.56.1",
14
14
  "@typescript-eslint/parser": "^8.56.1",
15
- "eslint": "^10.0.2",
15
+ "eslint-import-resolver-typescript": "^4.4.3",
16
16
  "eslint-plugin-boundaries": "^5.4.0",
17
17
  "eslint-plugin-compat": "^7.0.1",
18
18
  "eslint-plugin-cypress": "^6.1.0",
@@ -39,8 +39,6 @@
39
39
  "jsonc-eslint-parser": "^3.1.0",
40
40
  "postcss": "^8.5.8",
41
41
  "postcss-scss": "^4.0.9",
42
- "prettier": ">=3.0.0",
43
- "stylelint": "^16.24.0",
44
42
  "stylelint-config-recommended-vue": "^1.6.1",
45
43
  "stylelint-config-standard": "^40.0.0",
46
44
  "stylelint-config-standard-scss": "^17.0.0",
@@ -51,6 +49,11 @@
51
49
  "typescript": "^5.9.3",
52
50
  "yaml-eslint-parser": "^2.0.0"
53
51
  },
52
+ "peerDependencies": {
53
+ "eslint": "^10.0.0",
54
+ "prettier": ">=3.0.0",
55
+ "stylelint": "^16.0.0"
56
+ },
54
57
  "peerDependenciesMeta": {
55
58
  "typescript": {
56
59
  "optional": true