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

feat: upgrade to eslint v9 #13

Merged
merged 2 commits into from
Dec 6, 2024
Merged

feat: upgrade to eslint v9 #13

merged 2 commits into from
Dec 6, 2024

Conversation

Zyie
Copy link
Member

@Zyie Zyie commented Dec 6, 2024

This PR updates the config to eslint v9 which uses the new flat config

For the most part all the rules are the same, most of the changes are around many rules moving to the new @stylistic repo
I did also move over some rules from the main pixi repo:

{
  'operator-assignment': [1, 'always'],
  camelcase: [1, { allow: ['^v\\d{1,}_\\d{1,}_\\d{1,}$'] }],
  'no-void': ['error', { allowAsStatement: true }],
  '@typescript-eslint/no-unused-expressions': [1, { allowShortCircuit: true, allowTernary: true }]
}

@Zyie Zyie merged commit a0c50ed into main Dec 6, 2024
2 checks passed
@Zyie Zyie deleted the feat/elint-v9 branch December 6, 2024 14:35
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