-
Notifications
You must be signed in to change notification settings - Fork 33
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
chore(eslint): add eslint-plugin-unicorn
dependency and filename-case
rule
#2833
Conversation
eslint-plugin-unicorn dependency &
filename-case` ruleeslint-plugin-unicorn dependency
and filename-case
rule
♻️ PR Preview f48c5cd has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
♻️ PR Preview f48c5cd has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
In the past, we accept auto-bump of minor versions. In such versions, there are new rules. In the past, our local linting commands failed after auto-bump (running npm install bump the deps) because our code was not compliant with the new rules.
This was frustrating and we didn't understand that the problems were due to dependency auto bump.
eslint-plugin-unicorn dependency
and filename-case
ruleeslint-plugin-unicorn
dependency and filename-case
rule
Kudos, SonarCloud Quality Gate passed!
|
As there is a lot of changes on the PR #2824, I will activate the rule one-by-one by PR.
For the
filename-case
rule, I enabled all the cases possible:kebabCase
,camelCase
,pascalCase
andsnakeCase
.ℹ️ https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/filename-case.md
Covers #2742