Skip to content

Commit

Permalink
Merge pull request #16 from sevor005/add-stylelint-codeguide
Browse files Browse the repository at this point in the history
Update dependencies and add stylelint-codeguide.
  • Loading branch information
NetDead authored Jan 9, 2024
2 parents 37ee059 + b629a41 commit 487b041
Show file tree
Hide file tree
Showing 4 changed files with 251 additions and 747 deletions.
61 changes: 60 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,69 @@
"plugins": [
"stylelint-order",
"stylelint-scss",
"stylelint-stylistic",
"stylelint-codeguide",
"@funboxteam/stylelint-rules"
],
"rules": {
"codeguide/at-rule-name-case": "lower",
"codeguide/at-rule-name-space-after": "always",
"codeguide/at-rule-semicolon-newline-after": "always",
"codeguide/at-rule-semicolon-space-before": "never",
"codeguide/block-closing-brace-newline-after": ["always", {
"ignoreAtRules": ["if", "else"]
}],
"codeguide/block-opening-brace-newline-after": "always",
"codeguide/block-opening-brace-space-after": "always-single-line",
"codeguide/block-opening-brace-space-before": "always",
"codeguide/color-hex-case": "lower",
"codeguide/declaration-bang-space-after": "never",
"codeguide/declaration-bang-space-before": "always",
"codeguide/declaration-block-semicolon-newline-after": "always",
"codeguide/declaration-block-semicolon-newline-before": "never-multi-line",
"codeguide/declaration-block-semicolon-space-after": "always-single-line",
"codeguide/declaration-block-semicolon-space-before": "never",
"codeguide/declaration-block-trailing-semicolon": "always",
"codeguide/declaration-colon-space-after": "always",
"codeguide/declaration-colon-space-before": "never",
"codeguide/function-comma-space-after": "always",
"codeguide/function-comma-space-before": "never",
"codeguide/function-parentheses-space-inside": "never",
"codeguide/function-whitespace-after": "always",
"codeguide/indentation": 2,
"codeguide/max-line-length": 120,
"codeguide/media-feature-colon-space-after": "always",
"codeguide/media-feature-colon-space-before": "never",
"codeguide/media-feature-name-case": "lower",
"codeguide/media-feature-parentheses-space-inside": "never",
"codeguide/media-feature-range-operator-space-after": "always",
"codeguide/media-feature-range-operator-space-before": "always",
"codeguide/media-query-list-comma-space-after": "always",
"codeguide/media-query-list-comma-space-before": "never",
"codeguide/no-eol-whitespace": true,
"codeguide/no-extra-semicolons": true,
"codeguide/no-missing-end-of-source-newline": true,
"codeguide/number-leading-zero": "never",
"codeguide/number-no-trailing-zeros": true,
"codeguide/property-case": "lower",
"codeguide/selector-attribute-brackets-space-inside": "never",
"codeguide/selector-attribute-operator-space-after": "never",
"codeguide/selector-attribute-operator-space-before": "never",
"codeguide/selector-combinator-space-after": "always",
"codeguide/selector-combinator-space-before": "always",
"codeguide/selector-descendant-combinator-no-non-space": true,
"codeguide/selector-list-comma-space-after": "always-single-line",
"codeguide/selector-list-comma-space-before": "never",
"codeguide/selector-pseudo-class-case": "lower",
"codeguide/selector-pseudo-class-parentheses-space-inside": "never",
"codeguide/selector-pseudo-element-case": "lower",
"codeguide/string-quotes": "single",
"codeguide/unit-case": "lower",
"codeguide/value-list-comma-space-after": "always",
"codeguide/value-list-comma-space-before": "never",
"codeguide/block-closing-brace-empty-line-before": "never",
"codeguide/function-max-empty-lines": 0,
"codeguide/selector-max-empty-lines": 0,
"codeguide/value-list-max-empty-lines": 0,
"at-rule-no-vendor-prefix": true,
"block-no-empty": true,
"color-hex-length": "short",
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 6.1.0 (09.01.2024)
Added `stylelint-codeguide` instead `stylelint-stylistic` for Stylelint v16 supporting

## 6.0.0 (08.12.2023)

Migration to Stylelint 15
Expand Down
Loading

0 comments on commit 487b041

Please sign in to comment.