Skip to content

fix: ignore submodules in eslint config - #1793

Open
onlyexeption wants to merge 1 commit into
masterfrom
ibarakov/fix-eslint-config
Open

fix: ignore submodules in eslint config#1793
onlyexeption wants to merge 1 commit into
masterfrom
ibarakov/fix-eslint-config

Conversation

@onlyexeption

Copy link
Copy Markdown
Contributor

Description

Related Issue

Closes #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring / code cleanup
  • Build / CI configuration change

Affected Packages

  • igniteui-cli (packages/cli)
  • @igniteui/cli-core (packages/core)
  • @igniteui/angular-templates (packages/igx-templates)
  • @igniteui/angular-schematics (packages/ng-schematics)
  • @igniteui/mcp-server (packages/igniteui-mcp)

Checklist

  • I have tested my changes locally (npm run test)
  • I have built the project successfully (npm run build)
  • I have run the linter (npm run lint)
  • I have added/updated tests as needed
  • My changes do not introduce new warnings or errors

Additional Context

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is a low-risk ESLint ignore-list update that is consistent with existing ignore patterns and has no functional impact beyond reducing unintended lint scope.

Pull request overview

This PR updates the repo’s flat ESLint configuration to ignore documentation-source Git submodules under the MCP server package, preventing ESLint (and typed linting) from traversing and attempting to type-check code that is not part of the monorepo’s TypeScript project configuration.

Changes:

  • Adds ignore globs for the igniteui-doc-mcp documentation submodule directories (angular/react/webcomponents/blazor/common).
  • Documents the rationale inline (submodules are separate repos and not included in this project’s tsconfigs).
File summaries
File Description
eslint.config.mjs Extends ignores to exclude MCP doc submodule trees from linting/typed linting.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 87.816%. remained the same — ibarakov/fix-eslint-config into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants