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

Modify linters capabilities #9

Open
rknx opened this issue May 7, 2020 · 3 comments
Open

Modify linters capabilities #9

rknx opened this issue May 7, 2020 · 3 comments

Comments

@rknx
Copy link
Owner

rknx commented May 7, 2020

The linters can be specified by creating the .lintr file at the project or home directory. Details can be found at lintr documentation.

@rknx
Copy link
Owner Author

rknx commented May 7, 2020

linters: with_defaults(
    line_length_linter(80),
    assignment_linter = NULL
)
exclusions: list(
    "inst/test.R",
    "test/"
)
exclude: "#"

Maybe add object_name_linter = NULL

@rknx
Copy link
Owner Author

rknx commented May 7, 2020

file in prepared, check back to confirm its working

@rknx
Copy link
Owner Author

rknx commented May 8, 2020

Creating of .lintr (even when empty) causes lintr to stop functioning!!

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

No branches or pull requests

1 participant