stylelint-config-ecss
v0.1.2
Published
A stylelint config based on ECSS
Maintainers
Readme
stylelint-config-ecss
🚧WIP🚧
A stylelint config based on ECSS
Usage
Install stylelint and stylelint-config-ecss
yarn add stylelint stylelint-config-ecss -DCreate stylelint.config.js
"use strict";
module.exports = {
extends: ["stylelint-config-ecss"]
};Adopted rules
Possible errors
Color
Function
Declaration block
declaration-block-no-duplicate-propertiesdeclaration-block-trailing-semicolondeclaration-block-no-shorthand-property-overrides
Block
Limit language features
Value
Property
Selector
At-rule
Stylistic issues
Function
Number
String
Declaration
Media feature
Selector list
General / Sheet
plugin ecss
ecss/comment-check-prefix-browser-hacksecss/declaration-comment-magic-numbers-beforeecss/background-no-base64
License
MIT
Roadmap for v1.0
- [x] Include introduced rules
- [x] Add new rules
- [x] Create stylelint plugin ecss
- [x] Include plugin rules
- [ ] Include stylelint-declaration-strict-value
