Skip to content

Commit cade5dc

Browse files
committed
Latest Stylelint config
1 parent df56e7a commit cade5dc

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed

.stylelintrc.yml

Lines changed: 31 additions & 4 deletions
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

@@ -375,7 +396,7 @@ rules:
375396
no-invalid-double-slash-comments: true
376397

377398
# Disallow invalid position `@import` rules within a stylesheet.
378-
#no-invalid-position-at-import-rule:
399+
no-invalid-position-at-import-rule: true
379400

380401
# Disallow irregular whitespaces.
381402
no-irregular-whitespace: true
@@ -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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "textpattern-forum",
3-
"version": "1.6.2",
3+
"version": "1.6.3",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/textpattern/textpattern-forum"

0 commit comments

Comments
 (0)