Skip to content

Commit

Permalink
[FEATURE] Add Stylelint and Standard for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
deoostfrees committed Nov 21, 2023
1 parent 2b6cbe5 commit 187b627
Show file tree
Hide file tree
Showing 3 changed files with 4,602 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"extends": [
"stylelint-config-standard"
],
"plugins": [
"stylelint-use-logical"
],
"rules": {
"color-hex-length": "long",
"color-hex-case": "upper",
"max-empty-lines": 3,
"number-leading-zero": "always",
"no-descending-specificity": null,
"shorthand-property-no-redundant-values": [true, {"severity": "warning"}],
"declaration-no-important": true,
"no-duplicate-at-import-rules": true,
"selector-max-id": 0,
"declaration-block-no-duplicate-properties": true,
"rule-empty-line-before": ["always-multi-line", {"ignore": ["after-comment"]}],
"value-keyword-case": "lower",
"string-quotes": "single",
"selector-class-pattern": ["^([a-z][a-z0-9]*)(-[a-z0-9]+)*(_[a-z0-9]+)*(__[a-z]((_|-)?[a-z0-9])*)?(--[a-z0-9]((_|-)?[a-z0-9\\\\\\/])*)?$", { "resolveNestedSelectors": true }],
"csstools/use-logical": true,
"declaration-block-no-redundant-longhand-properties": null
}
}
Loading

0 comments on commit 187b627

Please sign in to comment.