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
Contributor

@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/[email protected]
# or 
yarn add @tablecheck/[email protected]

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
@SimeonC SimeonC force-pushed the allow-disabled-boolean-prop branch from 862b3e6 to 3f07faa Compare November 30, 2023 09:43
Added some basic tests for current cases for naming-convention as it’s very complicated.
@SimeonC SimeonC force-pushed the allow-disabled-boolean-prop branch from d2c1628 to 0bd333b Compare December 1, 2023 09:39
@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

🚀 PR was released in @tablecheck/[email protected] 🚀

1 similar comment
@tablecheck-public-automation

🚀 PR was released in @tablecheck/[email protected] 🚀

@tablecheck-public-automation

🚀 PR was released in @tablecheck/[email protected] 🚀

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.

4 participants