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

infra(unicorn): prevent-abbreviations #3320

Open
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

ST-DDT
Copy link
Member

@ST-DDT ST-DDT commented Dec 3, 2024

Ref: #2439 (last rule)


Permanently disables the unicorn/prevent-abbreviations lint rule.

This rule prevents the usage of abbreviations such as i => index, doc => document/documentation and many more.
IMO these are mostly irrelevant changes and barely/don't contribute to the readability of the code, so I would like to disable this rule, especially since it increases the barrier of entry to the repository.

I tackled a few slightly more valid cases in separate PRs:

For the remaining changes I pushed a commit just as a reference/lookup for the other ~200 renames (reduced by a few ignores).

Feel free to look at the PR whether there is still something valid in there.

@ST-DDT ST-DDT added p: 1-normal Nothing urgent c: infra Changes to our infrastructure or project setup labels Dec 3, 2024
@ST-DDT ST-DDT added this to the vAnytime milestone Dec 3, 2024
@ST-DDT ST-DDT requested review from a team December 3, 2024 17:57
@ST-DDT ST-DDT self-assigned this Dec 3, 2024
@ST-DDT ST-DDT linked an issue Dec 3, 2024 that may be closed by this pull request
Copy link

netlify bot commented Dec 3, 2024

Deploy Preview for fakerjs ready!

Name Link
🔨 Latest commit 5eb760f
🔍 Latest deploy log https://app.netlify.com/sites/fakerjs/deploys/67607df4dcd6480008606617
😎 Deploy Preview https://deploy-preview-3320.fakerjs.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ST-DDT ST-DDT changed the title chore: align coding style of deprecated.ts infra(unicorn): prevent-abbreviations Dec 3, 2024
@ST-DDT
Copy link
Member Author

ST-DDT commented Dec 3, 2024

The PR title was somehow cached from the last PR...

Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.97%. Comparing base (e0016ad) to head (5eb760f).

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #3320   +/-   ##
=======================================
  Coverage   99.97%   99.97%           
=======================================
  Files        2811     2811           
  Lines      217012   217012           
  Branches      939      939           
=======================================
  Hits       216959   216959           
  Misses         53       53           

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: infra Changes to our infrastructure or project setup p: 1-normal Nothing urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check eslint-plugin-unicorn rules to enable/configure/disable
3 participants