Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Prevent ALE from linting diffs #2399

@bdielman

Description

@bdielman

I use Vim as my diff and merge tool for Git. When running Gdiff in a file in Vim, I get the split window with diffs displayed with no issues (linting). When I run the difftool alias for Git from the command line, it opens up a similar split, but this time index version of the file is pulling from a temp directory /private/vars/folder and ALE lints the file. It seems that because this file is outside of the repo it doesn't use the rubocop config and seems to pull from a default set of rules.

Ideally, ALE wouldn't lint files when viewed via vimdiff or Gdiff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions