atfzl / eslint-plugin-css-modules

Project status: NOT MAINTAINED; Checks that you are using the existent css/scss classes, no more no less
152 stars 34 forks source link

Add support for setting syntax. #30

Open AtarisMio opened 6 years ago

AtarisMio commented 6 years ago

I use postcss to transform my css code. and I use nest syntax in my .css file. but the linter can't recognise the nest code in .css.

I found here is a hard code for it. https://github.com/atfzl/eslint-plugin-css-modules/blob/master/lib/core/index.js#L120

Is here a solution for use nest syntax in .css file?

atfzl commented 6 years ago

Hi,

Can you provide some example and some code.