Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade ESlint version 9 support flat config #116

Merged
merged 6 commits into from
Oct 24, 2024

Conversation

JeffGreiner-eaton
Copy link
Collaborator

@JeffGreiner-eaton JeffGreiner-eaton commented Oct 18, 2024

Fixes BLUI-6228 & #96

Changes proposed in this Pull Request:

  • Updated ESlint to version 9 and updated remaining dependencies to latest

  • Removed deprecated no-var-requires rule in favor of no-require-imports rule.

  • Removed deprecated no-throw-literal rule.

  • Update tsx & ts configs to support client side flat configs for ESlint v9.

  • Update naming-convention rule.

  • Update change log.

  • The version range of TypeScript currently supported is >=4.8. 4 <5.6.0

  • Node.js < v18.18, v19 are no longer supported

Screenshots / Screen Recording (if applicable)

To Test:

Any specific feedback you are looking for?

@github-actions github-actions bot added the brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering label Oct 18, 2024
@JeffGreiner-eaton JeffGreiner-eaton changed the title Upgade ESlint version 9 Upgrade ESlint version 9 Oct 18, 2024
@JeffGreiner-eaton JeffGreiner-eaton marked this pull request as ready for review October 22, 2024 17:22
@JeffGreiner-eaton JeffGreiner-eaton marked this pull request as draft October 23, 2024 11:46
@JeffGreiner-eaton JeffGreiner-eaton marked this pull request as ready for review October 24, 2024 15:42
@JeffGreiner-eaton JeffGreiner-eaton changed the title Upgrade ESlint version 9 Upgrade ESlint version 9 support flat config Oct 24, 2024
Comment on lines +114 to +115
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did you run prettier? There's mismatched single/double quotes convention.

@joebochill joebochill merged commit 2f17cba into dev Oct 24, 2024
6 checks passed
@joebochill joebochill deleted the feature/blui-6228-eslint-9 branch October 24, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering
Development

Successfully merging this pull request may close these issues.

2 participants