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

Add T and F symbol linter to default linters? #517

Closed
AshesITR opened this issue Sep 1, 2020 · 0 comments · Fixed by #612
Closed

Add T and F symbol linter to default linters? #517

AshesITR opened this issue Sep 1, 2020 · 0 comments · Fixed by #612

Comments

@AshesITR
Copy link
Collaborator

AshesITR commented Sep 1, 2020

The tidyverse style guide forbids T and F as shorthand for TRUE and FALSE (cf. https://style.tidyverse.org/syntax.html#logical-vectors)
Maybe we should add the corresponding linter to the list of default linters?

AshesITR added a commit that referenced this issue Nov 28, 2020
delint zzz.R and remove unnecessary # nolint in the same file

also fix the minor issue #511 while touching zzz.R

fixes #517 and #511
MichaelChirico added a commit that referenced this issue Dec 2, 2020
* add T_and_F_symbol_linter to default_linters

delint zzz.R and remove unnecessary # nolint in the same file

also fix the minor issue #511 while touching zzz.R

fixes #517 and #511

* update NEWS.md

* add T/F symbol to default_linter_testcode.R

* add info comment

* restore line_length lint and no_tab

* sync all versions of default_linter_testcode.R

* Restore trailing whitespace

A proper IDE makes this nigh impossible to produce :D

* Update default_linter_testcode.R

* Update default_linter_testcode.R

* Update default_linter_testcode.R

* fix T_and_F lint in addins.R

* # nocov RStudio addins

* remove unused function named_list, # nocov .onLoad

Co-authored-by: Michael Chirico <michaelchirico4@gmail.com>
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 a pull request may close this issue.

1 participant