@workleap/stylelint-configs 2.1.0 → 2.1.2
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.
- package/CHANGELOG.md +12 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +14 -12
- package/src/index.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @workleap/stylelint-config
|
|
2
2
|
|
|
3
|
+
## 2.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#300](https://github.com/workleap/wl-web-configs/pull/300) [`95ba69a`](https://github.com/workleap/wl-web-configs/commit/95ba69af8f342cfd5a69c4dd067b851f7a4817c3) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Fixing deployment of previous version.
|
|
8
|
+
|
|
9
|
+
## 2.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#298](https://github.com/workleap/wl-web-configs/pull/298) [`ec6e2bb`](https://github.com/workleap/wl-web-configs/commit/ec6e2bba95dcedad667afae6ba99ed7d6ce27a6c) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated dependencies.
|
|
14
|
+
|
|
3
15
|
## 2.1.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -37,11 +37,11 @@ const config = {
|
|
|
37
37
|
// if we had used kebab-case (my-class) then we would have to use styles["my-class"] which is not as nice.
|
|
38
38
|
// in our design system however, i would add the following rule:
|
|
39
39
|
// "selector-class-pattern": [
|
|
40
|
-
//
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
//
|
|
44
|
-
//
|
|
40
|
+
// "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
|
|
41
|
+
// {
|
|
42
|
+
// message: (selector) => `Expected class selector "${selector}" to be kebab-case`
|
|
43
|
+
// }
|
|
44
|
+
// ]
|
|
45
45
|
"selector-class-pattern": null,
|
|
46
46
|
// These next rules do not exist in the stylelint-config-recommended config nor the stylelint-config-standard config.
|
|
47
47
|
// We are adding them here because we want to enforce them.
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,GAAW;IACnB,6GAA6G;IAC7G,sBAAsB,EAAE,IAAI;IAC5B,sHAAsH;IACtH,0BAA0B,EAAE,IAAI;IAChC,OAAO,EAAE,CAAC,2BAA2B,CAAC;IACtC,OAAO,EAAE,CAAC,oBAAoB,CAAC;IAC/B,eAAe,EAAE,SAAS;IAC1B,KAAK,EAAE;QACH,gCAAgC;QAEhC,yDAAyD;QACzD,4FAA4F;QAC5F,2BAA2B,EAAE,IAAI;QAEjC,yDAAyD;QACzD,oEAAoE;QACpE,8GAA8G;QAC9G,kCAAkC,EAAE;YAChC,IAAI;YACJ;gBACI,mBAAmB,EAAE;oBACjB,QAAQ;oBACR,QAAQ;oBACR,QAAQ;oBACR,OAAO;oBACP,UAAU;iBACb;aACJ;SACJ;QAED,uCAAuC;QAEvC,sDAAsD;QACtD,kDAAkD;QAClD,kBAAkB,EAAE,MAAM;QAE1B,sDAAsD;QACtD,2GAA2G;QAC3G,2EAA2E;QAC3E,0GAA0G;QAC1G,gEAAgE;QAChE,8BAA8B;QAC9B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,MAAM,MAAM,GAAW;IACnB,6GAA6G;IAC7G,sBAAsB,EAAE,IAAI;IAC5B,sHAAsH;IACtH,0BAA0B,EAAE,IAAI;IAChC,OAAO,EAAE,CAAC,2BAA2B,CAAC;IACtC,OAAO,EAAE,CAAC,oBAAoB,CAAC;IAC/B,eAAe,EAAE,SAAS;IAC1B,KAAK,EAAE;QACH,gCAAgC;QAEhC,yDAAyD;QACzD,4FAA4F;QAC5F,2BAA2B,EAAE,IAAI;QAEjC,yDAAyD;QACzD,oEAAoE;QACpE,8GAA8G;QAC9G,kCAAkC,EAAE;YAChC,IAAI;YACJ;gBACI,mBAAmB,EAAE;oBACjB,QAAQ;oBACR,QAAQ;oBACR,QAAQ;oBACR,OAAO;oBACP,UAAU;iBACb;aACJ;SACJ;QAED,uCAAuC;QAEvC,sDAAsD;QACtD,kDAAkD;QAClD,kBAAkB,EAAE,MAAM;QAE1B,sDAAsD;QACtD,2GAA2G;QAC3G,2EAA2E;QAC3E,0GAA0G;QAC1G,gEAAgE;QAChE,8BAA8B;QAC9B,0CAA0C;QAC1C,SAAS;QACT,2FAA2F;QAC3F,SAAS;QACT,KAAK;QACL,wBAAwB,EAAE,IAAI;QAE9B,qHAAqH;QACrH,2DAA2D;QAC3D,mBAAmB,EAAE,CAAC;QACtB,gDAAgD,EAAE,CAAC;QACnD,sBAAsB,EAAE,SAAS;QACjC,mBAAmB,EAAE;YACjB,IAAI;YACJ,KAAK;YACL,GAAG;YACH,IAAI;YACJ,KAAK;YACL,IAAI;YACJ,IAAI;YACJ,GAAG;YACH,IAAI;YACJ,sDAAsD;SACzD;QAED,kGAAkG;QAClG,mBAAmB,EAAE,IAAI;KAC5B;CACJ,CAAC;AAKF,iBAAS,MAAM,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@workleap/stylelint-configs",
|
|
3
3
|
"author": "Workleap",
|
|
4
4
|
"description": "Workleap recommended Stylelint configurations.",
|
|
5
|
-
"version": "2.1.
|
|
5
|
+
"version": "2.1.2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public",
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"src",
|
|
19
19
|
"dist",
|
|
20
|
-
"CHANGELOG.md"
|
|
21
|
-
"README.md"
|
|
20
|
+
"CHANGELOG.md"
|
|
22
21
|
],
|
|
23
22
|
"repository": {
|
|
24
23
|
"type": "git",
|
|
@@ -27,7 +26,7 @@
|
|
|
27
26
|
},
|
|
28
27
|
"peerDependencies": {
|
|
29
28
|
"prettier": "^3.6.2",
|
|
30
|
-
"stylelint": "^16.
|
|
29
|
+
"stylelint": "^16.25.0"
|
|
31
30
|
},
|
|
32
31
|
"peerDependenciesMeta": {
|
|
33
32
|
"prettier": {
|
|
@@ -38,19 +37,22 @@
|
|
|
38
37
|
}
|
|
39
38
|
},
|
|
40
39
|
"dependencies": {
|
|
41
|
-
"stylelint-config-standard": "^
|
|
40
|
+
"stylelint-config-standard": "^39.0.1",
|
|
42
41
|
"stylelint-prettier": "^5.0.3"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"eslint": "8.
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
44
|
+
"@eslint/js": "9.38.0",
|
|
45
|
+
"@types/node": "24.9.1",
|
|
46
|
+
"@typescript-eslint/parser": "8.46.2",
|
|
47
|
+
"eslint": "9.38.0",
|
|
48
|
+
"rimraf": "6.0.1",
|
|
49
|
+
"typescript": "5.9.3",
|
|
50
|
+
"typescript-eslint": "8.46.2",
|
|
51
|
+
"@workleap/eslint-configs": "0.0.2",
|
|
52
|
+
"@workleap/typescript-configs": "3.0.6"
|
|
51
53
|
},
|
|
52
54
|
"scripts": {
|
|
53
|
-
"prebuild": "pnpm
|
|
55
|
+
"prebuild": "pnpm rimraf dist",
|
|
54
56
|
"build": "tsc --project tsconfig.build.json",
|
|
55
57
|
"eslint": "eslint . --max-warnings=-0 --cache --cache-location node_modules/.cache/eslint",
|
|
56
58
|
"typecheck": "tsc"
|
package/src/index.ts
CHANGED
|
@@ -43,11 +43,11 @@ const config: Config = {
|
|
|
43
43
|
// if we had used kebab-case (my-class) then we would have to use styles["my-class"] which is not as nice.
|
|
44
44
|
// in our design system however, i would add the following rule:
|
|
45
45
|
// "selector-class-pattern": [
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
//
|
|
46
|
+
// "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
|
|
47
|
+
// {
|
|
48
|
+
// message: (selector) => `Expected class selector "${selector}" to be kebab-case`
|
|
49
|
+
// }
|
|
50
|
+
// ]
|
|
51
51
|
"selector-class-pattern": null,
|
|
52
52
|
|
|
53
53
|
// These next rules do not exist in the stylelint-config-recommended config nor the stylelint-config-standard config.
|