0.1.2 • Published 4 years ago
stylelint-config-ecss v0.1.2
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
- Include introduced rules
- Add new rules
- Create stylelint plugin ecss
- Include plugin rules
- Include stylelint-declaration-strict-value