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
I tried this tool and it worked well. It's able to scan the code and giving errors if any incorrect spelling was there.
But I'm not sure if it's supposed to read the class attribute or not inside HTML.
I'm getting errors in the class names that some of the spellings are incorrect. Since I use ACSS for class names, all the names are utility-first classes and not an actual word.
Steps to reproduce the behavior:
yarn add cspell
I cspell task in package.json "cspell": "cspell 'newhome.php'"
yarn run cspell
See error in screenshot below
Expected behavior
To avoid reading the class or ID attribute in HTML so that I don't manually have to restrict some utility-classes.
The text was updated successfully, but these errors were encountered:
By design, the spell checker checks the entire file. It is possible to use a regular expression to tell the spell check to skip things, ignoreRegExpList.
My suggestion would be to create a custom dictionary to contains your class names, instead of trying to ignore them.
Hi
I tried this tool and it worked well. It's able to scan the code and giving errors if any incorrect spelling was there.
But I'm not sure if it's supposed to read the class attribute or not inside HTML.
Tool I've used to check spellings
Version: 6.31.1
OS: Macos Monterey
Version: 12.5.1
Bug Description
I'm getting errors in the class names that some of the spellings are incorrect. Since I use ACSS for class names, all the names are utility-first classes and not an actual word.
Steps to reproduce the behavior:
Expected behavior
To avoid reading the class or ID attribute in HTML so that I don't manually have to restrict some utility-classes.
The text was updated successfully, but these errors were encountered: