Default SCSS shared config
See original GitHub issueMentioned over here https://github.com/airbnb/css/pull/23#issuecomment-264995280 is a set of default rules enabled by scss-lint
.
So I was thinking we should have a default shared config for stylelint scss rules that can be extended, there are probably two approaches that could be taken:
-
stylelint-config-scss
orstylelint-config-standard-scss
<- As a standalone configuration (with either name preference) -
stylelint-config-standard
<- Add a set of default SCSS rules as a secondary configuration
Thoughts?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:14
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Sass: @use
By default, the namespace is just the last component of the module's URL. ... you can use the @forward rule to forward them...
Read more >The recommended shareable SCSS config for Stylelint - GitHub
The recommended shareable SCSS config for stylelint. This config: extends the stylelint-config-recommended shared config and configures its rules for SCSS ...
Read more >stylelint-config-standard-scss - npm
The standard shareable SCSS config for Stylelint. Latest version: 6.1.0, last published: 2 months ago.
Read more >Creating Stylesheet Feature Flags With Sass !default
default is a Sass flag that indicates conditional assignment to a ... well as other shared values such as spacing, borders, font settings, ......
Read more >Sharing config variables between Node.js and Sass
import jsonImporter from 'node-sass-json-importer'; // Webpack config export default { module: { // Example sass-loader usage.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jeddy3 I created https://github.com/kristerkari/stylelint-config-recommended-scss
You might want to have a look at it before I publish it. I wasn’t sure how I should set up
dependencies
vspeerDependencies
, so now I havestylelint
andstylelint-scss
inpeerDependencies
.There already exists
stylelint-config-sass-guidelines
which is fairly close to thescss-lint
defaults (but doesn’t cover everything due to some divergence, and some non-existent equivalents).