Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Switch to stylelint-config-twbs-bootstrap
Browse files Browse the repository at this point in the history
It's what my original config was based on.
  • Loading branch information
XhmikosR committed Nov 18, 2019
1 parent ab7c254 commit 8e71c75
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 56 deletions.
60 changes: 5 additions & 55 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,63 +1,13 @@
{
"extends": ["stylelint-config-standard"],
"extends": [
"stylelint-config-twbs-bootstrap/css"
],
"rules": {
"at-rule-empty-line-before": null,
"at-rule-name-space-after": "always",
"at-rule-no-vendor-prefix": null,
"at-rule-semicolon-space-before": "never",
"block-closing-brace-empty-line-before": null,
"block-closing-brace-newline-after": null,
"block-opening-brace-space-before": null,
"color-hex-case": "lower",
"color-hex-length": "short",
"color-named": "never",
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-empty-line-before": null,
"declaration-no-important": null,
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric",
"function-url-no-scheme-relative": true,
"function-url-quotes": "always",
"length-zero-no-unit": true,
"max-empty-lines": 2,
"max-line-length": null,
"media-feature-name-no-vendor-prefix": null,
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "never",
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"number-leading-zero": "always",
"media-feature-name-no-unknown": [true, {
"ignoreMediaFeatureNames": ["prefers-reduced-motion"]
}],
"property-no-vendor-prefix": null,
"rule-empty-line-before": null,
"selector-attribute-quotes": "always",
"selector-list-comma-newline-after": "always",
"selector-list-comma-newline-before": "never-multi-line",
"selector-list-comma-space-after": "always-single-line",
"selector-list-comma-space-before": "never-single-line",
"selector-max-attribute": 2,
"selector-max-class": 4,
"selector-max-combinators": 4,
"selector-max-compound-selectors": 4,
"selector-max-empty-lines": 1,
"order/properties-order": null,
"selector-max-id": 1,
"selector-max-specificity": null,
"selector-max-type": 3,
"selector-max-universal": 1,
"selector-no-qualifying-type": null,
"selector-no-vendor-prefix": null,
"shorthand-property-no-redundant-values": true,
"string-quotes": "double",
"unicode-bom": "never",
"value-keyword-case": "lower",
"value-list-comma-newline-after": "never-multi-line",
"value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always",
"value-no-vendor-prefix": null
"selector-no-qualifying-type": null
}
}
74 changes: 74 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"stylelint": "^12.0.0",
"stylelint-config-standard": "^19.0.0"
"stylelint-config-twbs-bootstrap": "^0.9.0"
},
"engines": {
"node": "12.x"
Expand Down

0 comments on commit 8e71c75

Please sign in to comment.