New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@danifoldi/stylelint-presets

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@danifoldi/stylelint-presets

Various plug-and-play presets for stylelint

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

This package is published from a monorepo

Check https://github.com/DaniFoldi/linters for more details.

Setup

Standard

npm i -D @danifoldi/stylelint-presets stylelint stylelint-config-recommended stylelint-order stylelint-high-performance-animation

stylelint.config.(c)js:

module.exports = {
  extends: [ '@danifoldi/stylelint-presets/standard' ]
}

Vue

npm i -D @danifoldi/stylelint-presets stylelint stylelint-config-recommended stylelint-order stylelint-high-performance-animation postcss postcss-html

stylelint.config.(c)js:

module.exports = {
  extends: [ '@danifoldi/stylelint-presets/vue' ]
}

Scss

npm i -D @danifoldi/stylelint-presets stylelint stylelint-config-recommended stylelint-order stylelint-high-performance-animation postcss postcss-scss sass stylelint-config-recommended-scss stylelint-scss

stylelint.config.(c)js:

module.exports = {
  extends: [ '@danifoldi/stylelint-presets/scss' ]
}

Vue-scss

npm i -D @danifoldi/stylelint-presets stylelint stylelint-config-recommended stylelint-order stylelint-high-performance-animation postcss postcss-html postcss-scss sass stylelint-config-recommended-scss stylelint-scss

stylelint.config.(c)js:

module.exports = {
  extends: [ '@danifoldi/stylelint-presets/vue-scss' ]
}

Paintbrush

npm i -D @danifoldi/stylelint-presets stylelint stylelint-config-recommended stylelint-order stylelint-high-performance-animation postcss postcss-html postcss-scss sass stylelint-config-recommended-scss stylelint-scss

stylelint.config.(c)js:

module.exports = {
  extends: [ '@danifoldi/stylelint-presets/paintbrush' ]
}

Contributing

I have not tested all combinations, but they should work. If they don't, feel free to open an issue or PR.

Keywords

stylelint preset

FAQs

Package last updated on 16 Aug 2022

Related posts