Closed seriiserii825 closed 5 years ago
From the looks of that first screenshot, the warnings in your VS Code are coming from sass-lint. That's a different tool to stylelint.
If you want to use stylelint, you should turn off the sass-lint extension and install the stylelint one: https://marketplace.visualstudio.com/items?itemName=shinnn.stylelint
how do you know that i am using sass-lint?
пн, 18 февр. 2019 г. в 16:36, jeddy3 notifications@github.com:
From the looks of that first screenshot, the warnings in your VS Code are coming from sass-lint. That's a different tool to stylelint.
If you want to use stylelint, you should turn off the sass-lint extension and install the stylelint one: https://marketplace.visualstudio.com/items?itemName=shinnn.stylelint
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/simonsmith/stylelint-selector-bem-pattern/issues/39#issuecomment-464753676, or mute the thread https://github.com/notifications/unsubscribe-auth/AT0gpiXyYxim3_c1ZxdlPFCbU5MOKk8dks5vOrqFgaJpZM4bA8A0 .
-- С уважением Бурдужа Сергей.
what is the difference between stylelint and sasslint?
how do you know that i am using sass-lint?
what is the difference between stylelint and sasslint?
They are both linters and both will lint Scss and Sass code. Pick whichever meets your needs. My understanding is that the key difference is that stylelint is, like ESLint, a pluggable linter (list of community plugins). It also supports extracting styles from containers like <style>
tags, markdown fences and CSS-in-JS.
Thanks, now i understand. I think that i use the stylelint in vscode with .stylelintrc file rules, but i just use sass-lint.
пн, 18 февр. 2019 г. в 16:54, jeddy3 notifications@github.com:
how do you know that i am using sass-lint?
[image: screenshot 2019-02-18 at 14 43 36] https://user-images.githubusercontent.com/808227/52958542-30e0fd00-338c-11e9-94e8-2f06ba9c72c4.png
what is the difference between stylelint and sasslint?
They are both linters and both will lint Scss and Sass code. Pick whichever meets your needs. My understanding is that the key difference is that stylelint is, like ESLint, a pluggable linter (list of community plugins https://stylelint.io/user-guide/plugins/). It also supports extracting styles from containers like
I have the same problem, but the option "selector-class-pattern: null" don't work.
http://joxi.ru/ZrJVpL1H9JpZ3r http://joxi.ru/bmoovPGtx6K0jm