Skip to content

chore: remove deprecated babel and stylelint dependencies#7659

Merged
martinjagodic merged 5 commits intodecaporg:mainfrom
cmbdurand46:chore/remove-deprecated-deps
Nov 13, 2025
Merged

chore: remove deprecated babel and stylelint dependencies#7659
martinjagodic merged 5 commits intodecaporg:mainfrom
cmbdurand46:chore/remove-deprecated-deps

Conversation

@cmbdurand46
Copy link
Contributor

Summary

  • Replace babel-eslint with @babel/eslint-parser
  • Remove deprecated @babel/plugin-proposal-* plugins (now included in @babel/preset-env)
  • Remove deprecated stylelint-processor-styled-components packages
  • Update ESLint, Babel, and Stylelint configurations

Test plan

  • ESLint passes
  • Stylelint passes
  • TypeScript type-check passes
  • Build completes successfully (38 projects)
  • Unit tests pass (1005/1657 tests)

Checklist

A salamander from my garden ;-)

image

@cmbdurand46 cmbdurand46 requested a review from a team as a code owner November 8, 2025 16:33
Copy link
Member

@martinjagodic martinjagodic left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, please address my 2 comments.

Copy link
Member

Choose a reason for hiding this comment

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

agent instructions/permissions are quite personal - please add this file to gitignore

package.json Outdated
"lint": "run-p -c --aggregate-output \"lint:*\"",
"lint-quiet": "run-p -c --aggregate-output \"lint:* --quiet\"",
"lint:css": "stylelint --ignore-path .gitignore \"packages/**/*.{css,js,jsx,ts,tsx}\"",
"lint:css": "stylelint --ignore-path .gitignore \"packages/**/*.{css,scss}\"",
Copy link
Member

Choose a reason for hiding this comment

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

A lot of style is in js,jsx,ts,tsx in this project (I don't like it, but that's the legacy we got). Are you sure we want to stop linting them?

cmbdurand46 and others added 4 commits November 11, 2025 13:29
Replace stylelint-processor-styled-components and stylelint-config-styled-components
with postcss-styled-syntax to lint CSS-in-JS files.

- Install postcss-styled-syntax
- Update .stylelintrc to use postcss-styled-syntax
- Re-enable linting for js,jsx,ts,tsx files in lint:css command
- Disable stylelint rules incompatible with CSS-in-JS syntax

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@martinjagodic martinjagodic enabled auto-merge (squash) November 13, 2025 14:18
@martinjagodic martinjagodic merged commit 3121111 into decaporg:main Nov 13, 2025
7 checks passed
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