@massimo-cassandro/stylelint-config
v1.1.7
Published
my stylelint config
Downloads
5
Readme
Stylelint config
My stylelint config,
Previous versions at https://github.com/massimo-cassandro/linters-config.
Use
Install styleint
and the other nedeed packages:
npm install -D @massimo-cassandro/stylelint-config stylelint @stylistic/stylelint-plugin stylelint-config-css-modules stylelint-config-twbs-bootstrap
Create a .stylelintrc.cjs
file (or use any other name you like, following the instructions at https://stylelint.io/user-guide/configure) and add:
/* eslint-env node */
module.exports = {
extends: '@massimo-cassandro/stylelint-config'
};
Optionally you can extends your .stylelintrc
file with other configuration (see https://stylelint.io/user-guide/configure/#extends):
/* eslint-env node */
module.exports = {
extends: [ 'stylelint-config-recommended', 'stylelint-config-recommended-scss', 'stylelint-order', '@massimo-cassandro/stylelint-config']
};
(NB: note that stylelint-config-standard
is included in stylelint-config-twbs-bootstrap )