stylelint-config-halo-lab
v1.0.4
Published
Stylelint config that halo lab development team is using for ReactJS projects
Downloads
370
Maintainers
Readme
Stylelint halo lab config
Installation
npm install --save-dev stylelint-config-halo-lab
Usage
In .stylelintrc.js
:
module.exports = {
extends: ["stylelint-config-halo-lab"],
};
Add package.json
сheck the project for errors:
{
"scripts": {
"stylelint": "stylelint 'src/**/*{.css,.scss}'",
"stylelint:fix": "stylelint 'src/**/*{.css,.scss}' --fix"
},
}
If you need to add global styles or reset for tags _global.scss
, _reset.scss
, _normalize.scss
you need add front the name file of _
. And add ignore file.
{
"ignoreFiles": [
"src/**/_*.scss",
"src/**/_*.css",
],
}
Status and contribution
The project is supported by Halo lab development team, we're not working on it regularly, but trying to invest in it when we have time between clients' project. Though, feel free to open issues and you're very welcome to contribute.