jimkyndemeyer / react-css-modules-intellij-plugin

React CSS Modules support in IntelliJ IDEA and WebStorm for components written in JavaScript and TypeScript.
MIT License
41 stars 5 forks source link

False positive error annotations #5

Open gleb-lobastov-sandbox opened 7 years ago

gleb-lobastov-sandbox commented 7 years ago

Hello, Jim. Thanks for great work. Unfortunately for now I can't use plugin, because of false positive error annotations. Plugin doesn't consider classes imported by scss @import derictive. If I right understand, there is a limitation by jetBrains api. So ok, but I found no way to slience this error. Disabling CSS rules has no effect. May be you can add some setup for disabling such annotation?

in scss file: image

in jsx file: image