dense-analysis / dense-analysis/ale

Clojure Support via Eastwood

Open
#1,040 0 comments 10 reactions 0 assignees View on GitHub
new tool
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

Was wondering if would be possible to get Clojure linting support in Ale.

There is a lint tool for Clojure called [Eastwood](https://github.com/jonase/eastwood). To make use of it, a user needs to simply have `{:user {:plugins [[jonase/eastwood "0.2.5"]] }}` in the `$HOME/.lein/profiles.clj` file, and call `lein eastwood` while in the directory that has the file they want to lint.

Looking through the `ale_linters` directory, I have a _vague_ idea on how to create a proper `.vim` file to make use of Eastwood in Ale. But if it's more than just the common pattern I see in all the `linter.vim` files, then it might be a bit more difficult for me to do.

EDIT: Apologies, to clarify what the `lein eastwood` command does

> [Runs] Eastwood with the default set of lint warnings on all of the Clojure files in the source and test paths of your project

Contributor guide

Open the contributing guide

Research direction

Start by comparing the existing files in the ale_linters directory, especially the common linter.vim pattern, with Eastwood's lein eastwood command. Verify the command in a Clojure project containing source and test files; done means Ale can invoke Eastwood and report its lint warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, vim
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.