2.0.0 • Published 2 years ago

@soyhuce/stylelint-config-scss v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@soyhuce/stylelint-config-scss

StyleLint shareable config for SCSS style.

Installation

pnpm add -D @soyhuce/stylelint-config-scss

# with standard config and StyleLint
pnpm add -D stylelint @soyhuce/stylelint-config @soyhuce/stylelint-config-scss

Usage

In order to use this config, choose the one you want and add this configuration to your package.json:

{
 "stylelint": {
   "extends": [
     "@soyhuce/stylelint-config",
+    "@soyhuce/stylelint-config-scss"
   ]
 }
}

Or add a .stylelintrc.js file to your project root containing:

module.exports = {
  extends: [
    '@soyhuce/stylelint-config',
+   '@soyhuce/stylelint-config-scss'
  ]
}

VSCode integration

We recommend turning on VSCode settings to automatically run stylelint --fix on save.

"editor.codeActionsOnSave": {
+  "source.fixAll.stylelint": true
}

This will automatically format your code once you save.

License

MIT

2.0.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.2.0

2 years ago

0.1.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago