mikey-pro 10.2.0 → 10.3.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/README.md CHANGED
@@ -46,21 +46,21 @@ export { default } from 'mikey-pro';
46
46
  ## Subpath Exports
47
47
 
48
48
  ```js
49
- import config from 'mikey-pro'; // ESLint flat config array
49
+ import config from 'mikey-pro'; // ESLint flat config array
50
50
  import { baseConfig } from 'mikey-pro/eslint/base-config.js'; // Base config object
51
51
  import { baseOverrides } from 'mikey-pro/eslint/overrides.js'; // File-specific overrides
52
52
  ```
53
53
 
54
54
  ## Packages
55
55
 
56
- | Package | Description |
57
- |---|---|
58
- | `mikey-pro` | Unified base — ESLint + Prettier + Stylelint |
59
- | `@mikey-pro/eslint-config-react` | React/Next.js rules |
60
- | `@mikey-pro/eslint-config-vue` | Vue/Nuxt rules |
61
- | `@mikey-pro/eslint-config-svelte` | Svelte/SvelteKit rules |
62
- | `@mikey-pro/eslint-config-angular` | Angular rules |
63
- | `@mikey-pro/ruff-config` | Python guardrails (Ruff) |
56
+ | Package | Description |
57
+ | ---------------------------------- | -------------------------------------------- |
58
+ | `mikey-pro` | Unified base — ESLint + Prettier + Stylelint |
59
+ | `@mikey-pro/eslint-config-react` | React/Next.js rules |
60
+ | `@mikey-pro/eslint-config-vue` | Vue/Nuxt rules |
61
+ | `@mikey-pro/eslint-config-svelte` | Svelte/SvelteKit rules |
62
+ | `@mikey-pro/eslint-config-angular` | Angular rules |
63
+ | `@mikey-pro/ruff-config` | Python guardrails (Ruff) |
64
64
 
65
65
  ## License
66
66
 
@@ -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',
@@ -37,6 +37,9 @@ export const ts = {
37
37
 
38
38
  // Override some rules for better developer experience
39
39
  '@typescript-eslint/class-methods-use-this': 'off',
40
+ // Disabled: calls sourceCode.getJSDocComment() which was removed in ESLint 10.
41
+ // The rule was deprecated in @typescript-eslint v7 in favor of no-this-alias.
42
+ '@typescript-eslint/no-invalid-this': 'off',
40
43
  '@typescript-eslint/consistent-generic-constructors': [
41
44
  'error',
42
45
  'constructor',
@@ -175,15 +178,7 @@ export const ts = {
175
178
  '@typescript-eslint/prefer-return-this-type': 'error',
176
179
  '@typescript-eslint/prefer-string-starts-ends-with': 'error',
177
180
  '@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
- ],
181
+ '@typescript-eslint/promise-function-async': 'off',
187
182
  '@typescript-eslint/require-array-sort-compare': [
188
183
  'error',
189
184
  { ignoreStringArrays: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mikey-pro",
3
- "version": "10.2.0",
3
+ "version": "10.3.3",
4
4
  "description": "AI agent code quality guardrails — ESLint, Prettier, and Stylelint unified config",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -12,6 +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-import-resolver-typescript": "^4.4.3",
15
16
  "eslint-plugin-boundaries": "^5.4.0",
16
17
  "eslint-plugin-compat": "^7.0.1",
17
18
  "eslint-plugin-cypress": "^6.1.0",
@@ -145,9 +146,7 @@
145
146
  "angular"
146
147
  ],
147
148
  "author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
148
- "browserslist": [
149
- "defaults"
150
- ],
149
+ "browserslist": ["defaults"],
151
150
  "engines": {
152
151
  "node": ">=20.19.0",
153
152
  "npm": ">=9.0.0",
@@ -28,7 +28,6 @@ const config = {
28
28
  },
29
29
  'declaration-property-value-disallowed-list': {
30
30
  '/^grid/': ['auto'],
31
- position: ['fixed'],
32
31
  },
33
32
  'declaration-strict-value': [
34
33
  ['/color/', 'z-index'],