Skip to content

Restore semi and type-annotation-spacing lint rules via @stylistic/eslint-plugin-ts#783

Merged
alexarchambault merged 2 commits intodependabot/npm_and_yarn/eslint-plugin-github-6.0.0from
copilot/sub-pr-652
Feb 19, 2026
Merged

Restore semi and type-annotation-spacing lint rules via @stylistic/eslint-plugin-ts#783
alexarchambault merged 2 commits intodependabot/npm_and_yarn/eslint-plugin-github-6.0.0from
copilot/sub-pr-652

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 19, 2026

@typescript-eslint/semi and @typescript-eslint/type-annotation-spacing were dropped in @typescript-eslint/eslint-plugin v8 (moved to the stylistic plugin). A prior commit removed these rules entirely rather than migrating them.

Changes

  • Add @stylistic/eslint-plugin-ts@^2.13.0 dev dependency (supports ESLint 8.x)
  • Register @stylistic/ts plugin in .eslintrc.json
  • Restore rules using their new homes:
    • "semi": "off" + "@stylistic/ts/semi": ["error", "never"]
    • "@stylistic/ts/type-annotation-spacing": "error"

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>
Copilot AI changed the title [WIP] Update eslint-plugin-github to version 6.0.0 Restore semi and type-annotation-spacing lint rules via @stylistic/eslint-plugin-ts Feb 19, 2026
@alexarchambault alexarchambault marked this pull request as ready for review February 19, 2026 23:46
@alexarchambault alexarchambault merged commit f965755 into dependabot/npm_and_yarn/eslint-plugin-github-6.0.0 Feb 19, 2026
4 checks passed
@alexarchambault alexarchambault deleted the copilot/sub-pr-652 branch February 19, 2026 23:46
alexarchambault added a commit that referenced this pull request Feb 19, 2026
* Bump eslint-plugin-github from 4.10.2 to 6.0.0

Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 4.10.2 to 6.0.0.
- [Release notes](https://github.com/github/eslint-plugin-github/releases)
- [Commits](github/eslint-plugin-github@v4.10.2...v6.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-github
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix ESLint config compatibility with eslint-plugin-github v6 (#779)

* Initial plan

* Initial plan

Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>

* Fix ESLint config for eslint-plugin-github v6 compatibility

Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>

* Remove deprecated @typescript-eslint stylistic rules incompatible with v8 (#782)

* Initial plan

* Initial plan

Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>

* Remove deprecated @typescript-eslint/semi and type-annotation-spacing rules

Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>

* Restore semi and type-annotation-spacing lint rules via @stylistic/eslint-plugin-ts (#783)

* Initial plan

* Add back semi linting rules via @stylistic/eslint-plugin-ts

Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexarchambault <7063723+alexarchambault@users.noreply.github.com>
Co-authored-by: Alex Archambault <alexandre.archambault@gmail.com>
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.

2 participants