REditorSupport / REditorSupport/languageserver

Unable to change lintr settings with ~\.lintr file

Open
#693 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
675
Forks
118
Avg merge
1d 37m
Merged PRs (30d)
11

Description

Trying to change the lintr settings that are used by languageserver for continuous linting. Created a .lintr file in the home directory as per the lintr package and configured the settings I wanted. Confirmed that the file was correct by running lintr::lint("test.R") in the terminal, which worked appropriately.

However the dynamic linting in the editor is not reflecting the specifications in this file.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the configuration used by lintr::lint("test.R") with the configuration used for dynamic linting in the editor. Trace how the home-directory .lintr file is discovered, and consider the issue resolved when its settings are reflected in editor lint results.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.