You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps it would be suitable to have a rule to perform lookup against a list of words on local file store?
Context
Our standards at Waitrose state we should always use plurals for collections and we should only use nouns on paths. It would be useful to be able to pick these up as a linting rule rather than having to manually review each.
The text was updated successfully, but these errors were encountered:
I like the general idea, but I also would like the ability to implement this with a natural language processing library. Let me have a think about pluggable rule actions in general. Thanks for the suggestion!
Great idea. I'd not thought of using NLP, but I can see that would be more robust - I guess something like https://github.com/spencermountain/compromise perhaps? Looks like it's got verbs, nouns and plurals covered.
Detailed description
I would like to be able to easily check for the presence of nouns or verbs in paths. Clearly this is not possible to achieve via single regex!
http://www.desiquintans.com/downloads/nounlist/nounlist.txt
https://sketchengine.co.uk/wp-content/uploads/word-list/english/english-word-list-verbs.csv
Possible Implementation
Perhaps it would be suitable to have a rule to perform lookup against a list of words on local file store?
Context
Our standards at Waitrose state we should always use plurals for collections and we should only use nouns on paths. It would be useful to be able to pick these up as a linting rule rather than having to manually review each.
The text was updated successfully, but these errors were encountered: