stylelint-config-recommended-scss icon indicating copy to clipboard operation
stylelint-config-recommended-scss copied to clipboard

Reset 'import-notation'

Open boneyfantaseas opened this issue 2 years ago • 1 comments

The combination of 'stylelint-config-standard' and 'stylelint-config-recommended-scss' leads to an interesting effect. The former contains this rule: 'import-notation': 'url' That leads to import 'mixins.scss' > 'import url('mixins.scss')

Imports are resolved to url() imports which is interpreted by SCSS as plain CSS imports and that stops mixin/function/variable imports from working.

I suggest adding 'import-notation': null as we might have CSS imports next to SCSS imports.

boneyfantaseas avatar Dec 15 '22 09:12 boneyfantaseas