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

feat: Add spell-checking for GitLab #175

Merged

Conversation

hyperupcall
Copy link
Contributor

This adds spell checking for GitLab. I've seen this in the wild in repositories like awesome-zsh-plugins.

Output of yarn test test/rules/spell-check.js
$ yarn test test/rules/spell-check.js

yarn run v1.22.19
xo && ava test/rules/spell-check.js

  rules/spell-check.js:42:7
  ⚠   42:7   Blocks are nested too deeply (5). Maximum allowed is 4.               max-depth
  ⚠   46:7   Blocks are nested too deeply (5). Maximum allowed is 4.               max-depth

  test/api.js:10:1
  ⚠   10:1   Unexpected todo comment: TODO: Uncomment this when the issue is....   no-warning-comments

  rules/contributing.js:11:2
  ⚠   11:2   Unexpected todo comment: TODO: This doesn't work on Linux for....     no-warning-comments

  index.js:105:25
  ⚠  105:25  Unexpected todo comment: TODO: because of....                         no-warning-comments

  config.js:21:2
  ⚠   21:2   Unexpected todo comment: TODO: this rule doesn't properly handle....  no-warning-comments

  6 warnings


  2 tests passed

Done in 2.54s.

@sindresorhus sindresorhus merged commit 9adfa76 into sindresorhus:main Oct 13, 2023
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.

2 participants