How to ignore the thymeleaf grammar check in IntelliJ IDEA. This picture should be no errors of thymeleaf grammar.

How to ignore the thymeleaf grammar check in IntelliJ IDEA. This picture should be no errors of thymeleaf grammar.

Open the Settings / Preferences Dialog by pressing ⌘
OR
By choosing
File | Settingsfor Windows and Linux
IntelliJ IDEA | Preferences for OS X,
One way
Inspections under Editor.You can Uncheck Spelling inspections to get rid of them in your code.
Other way (though I would suggest NOT to follow this) is -
Spelling under Editor.You can remove all the checked dictionaries used by intelliJ currently.
Source - Spellchecking with intelliJ