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

Add cspell Linter #3981

Merged
merged 3 commits into from
Nov 18, 2021
Merged

Add cspell Linter #3981

merged 3 commits into from
Nov 18, 2021

Conversation

cyntheticfox
Copy link
Contributor

Add the cspell linter, with the languages it supports.

Took a bit of reading to figure out some test problems, but I think I got it working pretty well.

Supported dictionaries can be found/added at https://github.com/streetsidesoftware/cspell-dicts

Closes #3828 and #3970

Copy link
Contributor

@hsanson hsanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all the work... looks really good. Sorry to ask but can you also add the documentation changes:

  • Add a section to doc/ale.txt with cspell configuration options. See ale-write-good-options for an example.
  • Add sections to each supported language that link to the section in doc/ale.txt. See for example the ale-asciidoc-write-good section in the doc/ale-asciidoc.txt help file.
  • Add cpell entry for each supported language in doc/ale-supported-languages-and-tools.txt. Note that sort order of the entries is important or linter test would fail.
  • Add cspell entry for each supported language in supported-tools.md file. Ensure the same ordering is used on both doc/ale-supported-languages-and-tools.txt and supported-tools.md files.

Add cspell linter, with the languages it supports.

Signed-off-by: David Houston <houstdav000@gmail.com>
Add documentation to /doc/ale.txt with cspell configuration options.

Signed-off-by: David Houston <houstdav000@gmail.com>
Add cspell for each supported language, adding some spaces and removing
others when caught navigating the file.

Signed-off-by: David Houston <houstdav000@gmail.com>
Copy link
Contributor

@hsanson hsanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all the work and contribution.

@hsanson hsanson merged commit ea643b9 into dense-analysis:master Nov 18, 2021
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.

Add support for cspell
2 participants