@davidsneighbour/stylelint-config 5.1.3 → 5.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/index.js +19 -17
  3. package/package.json +2 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.1.5](https://github.com/davidsneighbour/configurations/compare/v5.1.4...v5.1.5) (2023-03-20)
7
+
8
+ **Note:** Version bump only for package @davidsneighbour/stylelint-config
9
+
10
+
11
+
12
+
13
+
14
+ ## [5.1.4](https://github.com/davidsneighbour/configurations/compare/v5.1.3...v5.1.4) (2023-03-19)
15
+
16
+ **Note:** Version bump only for package @davidsneighbour/stylelint-config
17
+
18
+
19
+
20
+
21
+
6
22
  ## [5.1.3](https://github.com/davidsneighbour/configurations/compare/v5.1.2...v5.1.3) (2023-03-19)
7
23
 
8
24
  **Note:** Version bump only for package @davidsneighbour/stylelint-config
package/index.js CHANGED
@@ -11,6 +11,8 @@ const config = {
11
11
  "stylelint-no-unsupported-browser-features",
12
12
  "stylelint-order"
13
13
  ],
14
+
15
+
14
16
  "rules": {
15
17
  "alpha-value-notation": [
16
18
  "percentage",
@@ -137,7 +139,7 @@ const config = {
137
139
  "function-calc-no-unspaced-operator": true,
138
140
  "function-linear-gradient-no-nonstandard-direction": true,
139
141
  "function-name-case": "lower",
140
- "function-no-unknown": true,
142
+ "function-no-unknown": null,
141
143
  "function-url-quotes": "always",
142
144
  "hue-degree-notation": "angle",
143
145
  "import-notation": "url",
@@ -179,9 +181,7 @@ const config = {
179
181
  "no-invalid-double-slash-comments": true,
180
182
  "no-invalid-position-at-import-rule": true,
181
183
  "no-irregular-whitespace": true,
182
- "number-leading-zero": "always",
183
184
  "number-max-precision": 4,
184
- "number-no-trailing-zeros": true,
185
185
  "plugin/no-unsupported-browser-features": [
186
186
  true,
187
187
  {
@@ -201,19 +201,6 @@ const config = {
201
201
  ]
202
202
  }
203
203
  ],
204
- "scss/at-extend-no-missing-placeholder": null,
205
- "scss/at-function-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
206
- "scss/at-import-no-partial-leading-underscore": true,
207
- "scss/at-import-partial-extension-blacklist": [
208
- "scss"
209
- ],
210
- "scss/at-mixin-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
211
- "scss/at-rule-no-unknown": true,
212
- "scss/dollar-variable-colon-space-after": "always",
213
- "scss/dollar-variable-colon-space-before": "never",
214
- "scss/dollar-variable-pattern": "^[_]?[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
215
- "scss/percent-placeholder-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
216
- "scss/selector-no-redundant-nesting-selector": true,
217
204
  "selector-attribute-quotes": "always",
218
205
  "selector-class-pattern": [
219
206
  "^[a-z0-9\\-]+$",
@@ -264,7 +251,22 @@ const config = {
264
251
  "inline-box"
265
252
  ]
266
253
  }
267
- ]
254
+ ],
255
+
256
+ "scss/at-extend-no-missing-placeholder": null,
257
+ "scss/at-function-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
258
+ "scss/at-import-no-partial-leading-underscore": true,
259
+ "scss/at-import-partial-extension-blacklist": [
260
+ "scss"
261
+ ],
262
+ "scss/at-mixin-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
263
+ "scss/at-rule-no-unknown": true,
264
+ "scss/dollar-variable-colon-space-after": "always",
265
+ "scss/dollar-variable-colon-space-before": "never",
266
+ "scss/dollar-variable-pattern": "^[_]?[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
267
+ "scss/function-no-unknown": true,
268
+ "scss/percent-placeholder-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
269
+ "scss/selector-no-redundant-nesting-selector": true,
268
270
  },
269
271
  "order/order": [
270
272
  "custom-properties",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@davidsneighbour/stylelint-config",
3
3
  "description": "Stylelint configuration for use in @davidsneighbour projects.",
4
- "version": "5.1.3",
4
+ "version": "5.1.5",
5
5
  "license": "MIT",
6
6
  "repository": "davidsneighbour/configurations",
7
7
  "author": {
@@ -15,7 +15,6 @@
15
15
  "postcss": "^8.4.21",
16
16
  "postcss-scss": "^4.0.6",
17
17
  "stylelint": "15.3.0",
18
- "stylelint-config-standard": "31.0.0",
19
18
  "stylelint-no-unsupported-browser-features": "6.1.0",
20
19
  "stylelint-order": "6.0.3",
21
20
  "stylelint-scss": "^4.5.0"
@@ -28,5 +27,5 @@
28
27
  "node": ">=18.12.1",
29
28
  "npm": ">=8.19.2"
30
29
  },
31
- "gitHead": "ad01589ad1ab1dce27b0feec9b0dafdc94acb2fe"
30
+ "gitHead": "0d2306f7e737d8f6359708113c71fdb10e9dba73"
32
31
  }