-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
jsoref spell checker: remove resource from validation #5693
Comments
@jsoref , can you help us with this issue ? |
Sure, offhand the place to stick this is near the find argument, iirc it currently excludes "images", you could use the same style for "resources" assuming you're willing to exclude all folders named "resources". I'll look in more detail tomorrow. |
yes, you might already have tool/command that can easily remove all not found words from whilelist. |
@jsoref , thanks a lot for filter . I want to activate your tool on PR validation. Right now it is disabled(always return 0 as exit code) |
@romani sure: checkstyle/contribution#296 -- it's pretty small :-) |
If you're asking about for this PR, that was already done in #5693 (reference) |
The biggest problem of whitelist is that it too much words from our inputs/resources, example https://github.com/checkstyle/contribution/blob/master/jsoref-spellchecker/whitelist.words#L3585
as we get rid of them, it should become small it might become reasonable to host it main repo. |
@jsoref , whitelist file still contains odd words, please help to cleanup. |
Hmm...
I think this set should be a pretty good win... |
@jsoref , one more nuance:
and works are validated in URLs (should be skipped)
How can we skip hex stuff from validation ? |
one more prove that resources are not excluded
|
Ok, the problem is that the files don't start with a leading |
issue is resolved. |
Folders to skip by spell checker:
src/test/resources/*
src/it/resources/*
such folders contains ugly code by design, all mistakes in them are done on purpose for testing.
cleanup https://github.com/checkstyle/contribution/blob/master/jsoref-spellchecker/whitelist.words from odd names.
The text was updated successfully, but these errors were encountered: