This is a tool to generate stylelint file just like cssComb.
More information about Stylelint
I used create-react-app
To run the example
npm install
npm start
List of rules for now:
- color-hex-case
- color-hex-length
- color-named
- color-no-hex
- color-no-invalid-hex
- string-no-newline
- string-quotes
- number-leading-zero
- number-no-trailing-zeros
- at-rule-name-case
- at-rule-name-space-after
- block-closing-brace-empty-line-before
- block-closingbrace-newline-before
- block-closing-brace-space-before
- block-no-empty
- block-opening-brace-newline-after
- block-opening-brace-newline-before
- block-opening-brace-space-after
- block-opening-brace-space-after
todo
to pass only rules are included in stylelint-config-standard which i find most controversial.
future list:
- at-rule-name-case
- color-hex-case
- color-hex-length
- block-closing-brace-empty-line-before
- block-closing-brace-space-before
- block-no-empty
- block-opening-brace-space-after
- block-opening-brace-space-before
- comment-whitespace-inside
- declaration-block-semicolon-newline-after
- declaration-block-semicolon-space-before
- declaration-colon-space-after
- declaration-colon-space-before
- media-feature-colon-space-after
- media-feature-colon-space-before
- media-feature-name-case
- selector-attribute-brackets-space-inside
- selector-attribute-operator-space-after
- selector-combinator-space-after
- selector-combinator-space-after
- selector-list-comma-space-before
- selector-pseudo-class-parentheses-space-inside
- selector-pseudo-element-colon-notation