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

fix: allow disabled as a boolean variable name exception #97

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

SimeonC
Copy link
Collaborator

@SimeonC SimeonC commented Nov 30, 2023

Commonly we have boolean props that want to be called disabled but according to rules we need to make these isDisabled or similar. This is a common conventional name and thus should be allowed.

Also added a bunch of fixes and some simple tests for naming-convention.

πŸ“¦ Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @tablecheck/eslint-config@8.2.4-canary.97.7058307546.0
# or 
yarn add @tablecheck/eslint-config@8.2.4-canary.97.7058307546.0

Commonly we have boolean props that want to be called `disabled` but according to rules we need to make these `isDisabled` or similar. This is a common conventional name and thus should be allowed.
@SimeonC SimeonC enabled auto-merge (rebase) November 30, 2023 01:11
Copy link

github-actions bot commented Nov 30, 2023

Unit Test Results

0 tests   0 βœ”οΈβ€ƒβ€ƒ0s ⏱️
0 suites  0 πŸ’€
0 files    0 ❌

Results for commit 0bd333b.

♻️ This comment has been updated with latest results.

@SimeonC SimeonC added the patch Increment the patch version when merged label Nov 30, 2023
Added some basic tests for current cases for naming-convention as it’s very complicated.
@SimeonC SimeonC merged commit 4821395 into main Dec 5, 2023
5 checks passed
@SimeonC SimeonC deleted the allow-disabled-boolean-prop branch December 5, 2023 06:32
@tablecheck-public-automation tablecheck-public-automation added the released This issue/pull request has been released. label Dec 5, 2023
@tablecheck-public-automation
Copy link
Collaborator

πŸš€ PR was released in @tablecheck/eslint-config@8.2.4 πŸš€

1 similar comment
@tablecheck-public-automation
Copy link
Collaborator

πŸš€ PR was released in @tablecheck/eslint-config@8.2.4 πŸš€

@tablecheck-public-automation
Copy link
Collaborator

πŸš€ PR was released in @tablecheck/nx@6.1.3 πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants