3.0.0 • Published 1 year ago
@namics/stylelint-config v3.0.0
Shared stylelint config
reusable stylelint config for stylelint 14
Usage
npm install --save-dev stylelint@14 @namics/stylelint-config
stylelint.config.js
module.exports = require('@namics/stylelint-config');
.stylelintignore
node_modules/
src/shared/base/reset/css/yui/reset.css
package.json
{
"scripts": {
"lint:css": "stylelint src/**/*.*ss"
}
}
We recommend to use stylelint together with lint-staged and husky
npm install --save-dev husky lint-staged
package.json
{
"scripts": {
"lint:css": "stylelint src/**/*.*ss"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.*ss": ["stylelint"]
}
}
License
3.0.0
1 year ago
2.0.0
2 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.5.3
4 years ago
0.5.2
4 years ago
0.5.1
4 years ago
0.5.0
4 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.3.9
5 years ago
0.3.8
5 years ago
0.3.7
5 years ago
0.3.6
5 years ago
0.3.5
5 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.2
5 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.0
6 years ago