Skip to content

Commit 41795e8

Browse files
committed
Latest Stylelint config
1 parent 9539db6 commit 41795e8

File tree

3 files changed

+31
-5
lines changed

3 files changed

+31
-5
lines changed

.stylelintrc.yml

+30-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ rules:
1212
# Specify percentage or number notation for alpha-values.
1313
alpha-value-notation: number
1414

15+
# Disallow unknown annotations.
16+
#annotation-no-unknown: true
17+
1518
# Specify a list of disallowed at-rules.
1619
at-rule-disallowed-list:
1720
- debug
@@ -104,6 +107,9 @@ rules:
104107
# Specify modern or legacy notation for applicable color-functions.
105108
color-function-notation: modern
106109

110+
# Require or disallow alpha channel for hex colors.
111+
#color-hex-alpha: never
112+
107113
# Specify lowercase or uppercase for hexadecimal color values.
108114
color-hex-case: lower
109115

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

149+
# Disallow missing `var` function for custom properties.
150+
#custom-property-no-missing-var-function: true
151+
143152
# Specify a pattern for custom properties.
144153
#custom-property-pattern:
145154

@@ -194,6 +203,9 @@ rules:
194203
# Disallow `!important` within declarations.
195204
#declaration-no-important:
196205

206+
# Limit the number of values for a list of properties within declarations.
207+
#declaration-property-max-values:
208+
197209
# Specify a blacklist of disallowed property and unit pairs within declarations.
198210
#declaration-property-unit-blacklist:
199211

@@ -224,9 +236,6 @@ rules:
224236
# Specify a blacklist of disallowed functions.
225237
#function-blacklist:
226238

227-
# Disallow an invalid expression within `calc` functions.
228-
function-calc-no-invalid: true
229-
230239
# Disallow an unspaced operator within `calc` functions.
231240
function-calc-no-unspaced-operator: true
232241

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

263+
# Disallow unknown functions.
264+
#function-no-unknown: true
265+
254266
# Require a newline or disallow whitespace on the inside of the parentheses of functions.
255267
function-parentheses-newline-inside: always-multi-line
256268

@@ -278,12 +290,21 @@ rules:
278290
# Specify number or angle notation for degree hues.
279291
hue-degree-notation: number
280292

293+
# Specify string or URL notation for `@import` rules.
294+
#import-notation: url
295+
281296
# Specify indentation.
282297
indentation: 4
283298

299+
# Disallow duplicate selectors within keyframe blocks.
300+
#keyframe-block-no-duplicate-selectors: true
301+
284302
# Disallow `!important` within keyframe declarations.
285303
keyframe-declaration-no-important: true
286304

305+
# Specify keyword or percentage notation for keyframe selectors.
306+
#keyframe-selector-notation: percentage-unless-within-keyword-only-block
307+
287308
# Specify a pattern for keyframe names.
288309
#keyframes-name-pattern:
289310

@@ -425,6 +446,9 @@ rules:
425446
except:
426447
- first-nested
427448

449+
# Specify a list of disallowed properties for selectors within rules.
450+
#rule-selector-property-disallowed-list:
451+
428452
# Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
429453
selector-attribute-brackets-space-inside: never
430454

@@ -521,6 +545,9 @@ rules:
521545
# Disallow vendor prefixes for selectors.
522546
selector-no-vendor-prefix: true
523547

548+
# Specify simple or complex notation for `:not()` pseudo-class selectors.
549+
#selector-not-notation: complex
550+
524551
# Specify a blacklist of disallowed pseudo-class selectors.
525552
#selector-pseudo-class-blacklist:
526553

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "textpattern-com",
33
"description": "Official website of the Textpattern project.",
4-
"version": "1.8.4",
4+
"version": "1.8.5",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/textpattern/textpattern-com-website"

src/assets/sass/modules/_social.scss

-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,5 @@
4747
&.twitter {
4848
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");
4949
}
50-
5150
}
5251
}

0 commit comments

Comments
 (0)