Skip to content

use linter names in lint() results - #673

Merged
MichaelChirico merged 8 commits into
masterfrom
feature/linter-names
Dec 6, 2020
Merged

MichaelChirico merged 8 commits into
masterfrom
feature/linter-names

Conversation

@AshesITR

@AshesITR AshesITR commented Dec 4, 2020 •

Copy link
Copy Markdown
Collaborator

fixes #664

  • implement
  • add tests
  • document

@AshesITR

AshesITR commented Dec 4, 2020

Copy link
Copy Markdown
Collaborator Author

Already added a test for #660 in combination with custom linter names.

Comment thread R/lint.R Resolved
Comment thread tests/testthat/test-lint_file.R Resolved
@AshesITR

AshesITR commented Dec 5, 2020

Copy link
Copy Markdown
Collaborator Author

Hmm sadly GitHub hat a merge conflict in NEWS.md again...
I triple-checked https://www.git-scm.com/docs/gitattributes. Seems it's simply not supported.

Comment thread NEWS.md Resolved
Comment thread R/lint.R Resolved
Comment thread tests/testthat/test-lint_file.R Resolved
@MichaelChirico
MichaelChirico merged commit 3ec404d into master Dec 6, 2020
@MichaelChirico
MichaelChirico deleted the feature/linter-names branch December 6, 2020 01:41
AshesITR added a commit that referenced this pull request Dec 6, 2020
This was referenced Dec 6, 2020
MichaelChirico pushed a commit that referenced this pull request Dec 6, 2020
* de-lint test-absolute_path_linter.R

* de-lint test-exclusions.R

* de-lint test-extraction_operator_linter.R

* de-lint test-get_source_expressions.R

* de-lint test-implicit_integer_linter.R

* de-lint test-nonportable_path_linter.R

* de-lint test-object_name_linter.R

* de-lint test-pipe_continuation_linter.R

* de-lint test-semicolon_terminator_linter.R

* de-lint test-settings.R

* de-lint test-T_and_F_symbol_linter.R

* de-lint test-todo_comment_linter.R

* de-lint test-undesirable_function_linter.R

* de-lint test-undesirable_operator_linter.R

* de-lint test-unneeded_concatenation_linter.R

* bump cyclocomp limit up to 30 for lint()

caused by #673

* fix test failure on non-english locale

* fix test failure on non-english locale

* remove most context() calls in touched files

test-exclusions.R was not touched since it contains 3 calls (and will be split by #660)
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 this pull request may close these issues.

linter names are hard-coded

2 participants