stylelint-config-ecss
v0.1.2
Published
A stylelint config based on ECSS
Downloads
42
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 -D
Create stylelint.config.js
"use strict";
module.exports = {
extends: ["stylelint-config-ecss"]
};
Adopted rules
Possible errors
Color
Function
Declaration block
declaration-block-no-duplicate-properties
declaration-block-trailing-semicolon
declaration-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-hacks
ecss/declaration-comment-magic-numbers-before
ecss/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