@dmitryrechkin/eslint-standard 1.4.0 → 1.4.1

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/eslint.config.mjs CHANGED
@@ -82,7 +82,13 @@ export default function ({
82
82
  '@stylistic/brace-style': ['error', 'allman', { allowSingleLine: false }],
83
83
  '@stylistic/block-spacing': ['error', 'never'], // Enforce consistent spacing inside blocks
84
84
  indent: 'off', // Disabled to avoid conflicts with @stylistic/indent and our JSDoc plugin
85
- '@stylistic/indent': ['error', 'tab', { SwitchCase: 1 }],
85
+ '@stylistic/indent': ['error', 'tab', {
86
+ SwitchCase: 1,
87
+ ignoredNodes: [
88
+ 'ImportDeclaration', // Fix for maximum call stack issue with complex imports
89
+ 'TSTypeReference' // Fix for TypeScript type references causing recursion
90
+ ]
91
+ }],
86
92
  quotes: 'off', // Disabled in favor of @stylistic/quotes
87
93
  '@stylistic/quotes': ['error', 'single'],
88
94
  semi: 'off', // Disabled in favor of @stylistic/semi
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dmitryrechkin/eslint-standard",
3
3
  "description": "This package provides a shared ESLint configuration which includes TypeScript support and a set of specific linting rules designed to ensure high-quality and consistent code style across projects.",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "main": "eslint.config.mjs",
6
6
  "bin": {
7
7
  "eslint-standard": "./src/cli/index.mjs"