Skip to content

Commit

Permalink
Latest Stylelint config
Browse files Browse the repository at this point in the history
  • Loading branch information
philwareham committed Nov 24, 2022
1 parent 9539db6 commit 41795e8
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
33 changes: 30 additions & 3 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ rules:
# Specify percentage or number notation for alpha-values.
alpha-value-notation: number

# Disallow unknown annotations.
#annotation-no-unknown: true

# Specify a list of disallowed at-rules.
at-rule-disallowed-list:
- debug
Expand Down Expand Up @@ -104,6 +107,9 @@ rules:
# Specify modern or legacy notation for applicable color-functions.
color-function-notation: modern

# Require or disallow alpha channel for hex colors.
#color-hex-alpha: never

# Specify lowercase or uppercase for hexadecimal color values.
color-hex-case: lower

Expand Down Expand Up @@ -140,6 +146,9 @@ rules:
# Require or disallow an empty line before custom properties (Autofixable).
custom-property-empty-line-before: never

# Disallow missing `var` function for custom properties.
#custom-property-no-missing-var-function: true

# Specify a pattern for custom properties.
#custom-property-pattern:

Expand Down Expand Up @@ -194,6 +203,9 @@ rules:
# Disallow `!important` within declarations.
#declaration-no-important:

# Limit the number of values for a list of properties within declarations.
#declaration-property-max-values:

# Specify a blacklist of disallowed property and unit pairs within declarations.
#declaration-property-unit-blacklist:

Expand Down Expand Up @@ -224,9 +236,6 @@ rules:
# Specify a blacklist of disallowed functions.
#function-blacklist:

# Disallow an invalid expression within `calc` functions.
function-calc-no-invalid: true

# Disallow an unspaced operator within `calc` functions.
function-calc-no-unspaced-operator: true

Expand All @@ -251,6 +260,9 @@ rules:
# Specify lowercase or uppercase for function names.
function-name-case: lower

# Disallow unknown functions.
#function-no-unknown: true

# Require a newline or disallow whitespace on the inside of the parentheses of functions.
function-parentheses-newline-inside: always-multi-line

Expand Down Expand Up @@ -278,12 +290,21 @@ rules:
# Specify number or angle notation for degree hues.
hue-degree-notation: number

# Specify string or URL notation for `@import` rules.
#import-notation: url

# Specify indentation.
indentation: 4

# Disallow duplicate selectors within keyframe blocks.
#keyframe-block-no-duplicate-selectors: true

# Disallow `!important` within keyframe declarations.
keyframe-declaration-no-important: true

# Specify keyword or percentage notation for keyframe selectors.
#keyframe-selector-notation: percentage-unless-within-keyword-only-block

# Specify a pattern for keyframe names.
#keyframes-name-pattern:

Expand Down Expand Up @@ -425,6 +446,9 @@ rules:
except:
- first-nested

# Specify a list of disallowed properties for selectors within rules.
#rule-selector-property-disallowed-list:

# Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
selector-attribute-brackets-space-inside: never

Expand Down Expand Up @@ -521,6 +545,9 @@ rules:
# Disallow vendor prefixes for selectors.
selector-no-vendor-prefix: true

# Specify simple or complex notation for `:not()` pseudo-class selectors.
#selector-not-notation: complex

# Specify a blacklist of disallowed pseudo-class selectors.
#selector-pseudo-class-blacklist:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "textpattern-com",
"description": "Official website of the Textpattern project.",
"version": "1.8.4",
"version": "1.8.5",
"repository": {
"type": "git",
"url": "https://github.com/textpattern/textpattern-com-website"
Expand Down
1 change: 0 additions & 1 deletion src/assets/sass/modules/_social.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,5 @@
&.twitter {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%2300aced' d='M0 0h32v32H0z'/%3E%3Cpath fill='%23fff' d='M26.7,9.4c-0.8,0.3-1.6,0.6-2.5,0.7c0.9-0.5,1.6-1.4,1.9-2.4c-0.8,0.5-1.8,0.9-2.8,1c-0.8-0.9-1.9-1.4-3.2-1.4c-2.4,0-4.4,2-4.4,4.4c0,0.3,0,0.7,0.1,1c-3.6-0.2-6.9-1.9-9-4.6c-0.4,0.6-0.6,1.4-0.6,2.2c0,1.5,0.8,2.9,1.9,3.6c-0.7,0-1.4-0.2-2-0.5l0,0c0,2.1,1.5,3.9,3.5,4.3c-0.4,0.1-0.8,0.2-1.2,0.2c-0.3,0-0.6,0-0.8,0c0.6,1.7,2.2,3,4,3c-1.5,1.2-3.4,1.9-5.4,1.9c-0.4,0-0.7,0-1-0.1c1.9,1.2,4.2,2,6.7,2c8.1,0,12.5-6.7,12.5-12.5c0-0.2,0-0.4,0-0.6C25.3,11,26.1,10.3,26.7,9.4z'/%3E%3C/svg%3E");
}

}
}

0 comments on commit 41795e8

Please sign in to comment.