@lightech-llc/stylelint-config
v1.0.1
Published
Lightech stylelint configuration for Angular projects.
Downloads
1
Keywords
Readme
Installation and setup
- Run the commands:
yarn add -D @lightech-llc/stylelint-config
yarn add -D postcss
- Create the file
.stylelintrc
at the source root of your project, example:
{
"extends": [
"@lightech-llc/stylelint-config/scss",
"@lightech-llc/stylelint-config/angular"
],
"ignoreFiles": [
"**/dist/**",
"**/coverage/**",
"**/node_modules/**",
"**/.angular/**"
]
}
- Add next script to package.json:
"scripts": {
"stylelint": "stylelint '**/*.scss'"
}