@dword-design/stylelint-config 4.1.0 → 5.0.1
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/dist/index.d.ts +1 -0
- package/dist/index.js +3 -4
- package/package.json +16 -17
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ declare const _default: {
|
|
|
12
12
|
'csstools/use-nesting': (string | {
|
|
13
13
|
except: RegExp;
|
|
14
14
|
})[];
|
|
15
|
+
'no-descending-specificity': null;
|
|
15
16
|
'no-empty-source': null;
|
|
16
17
|
'plugin/declaration-block-no-ignored-properties': boolean;
|
|
17
18
|
'scss/no-global-function-names': null;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageName from "depcheck-package-name";
|
|
2
|
-
import stylelintUseNesting from "stylelint-use-nesting";
|
|
3
2
|
export default {
|
|
4
3
|
extends: [packageName`stylelint-config-standard-scss`, `${packageName`stylelint-config-hudochenkov`}/order`, `${packageName`stylelint-prettier`}/recommended`, `${packageName`stylelint-config-recommended-vue`}/scss`],
|
|
5
4
|
overrides: [{
|
|
@@ -9,13 +8,13 @@ export default {
|
|
|
9
8
|
"scss/at-rule-no-unknown": null
|
|
10
9
|
}
|
|
11
10
|
}],
|
|
12
|
-
plugins: [
|
|
13
|
-
// "CommonJS plugins are deprecated" error when listing it as a string
|
|
14
|
-
packageName`stylelint-declaration-block-no-ignored-properties`],
|
|
11
|
+
plugins: [packageName`stylelint-use-nesting`, packageName`stylelint-declaration-block-no-ignored-properties`],
|
|
15
12
|
rules: {
|
|
16
13
|
"csstools/use-nesting": ["always", {
|
|
17
14
|
except: /&:(hover|focus)/
|
|
18
15
|
}],
|
|
16
|
+
"no-descending-specificity": null,
|
|
17
|
+
// TODO: See specificity test and https://github.com/stylelint/stylelint/issues?q=is%3Aissue%20state%3Aopen%20no-descending-specificity
|
|
19
18
|
"no-empty-source": null,
|
|
20
19
|
"plugin/declaration-block-no-ignored-properties": true,
|
|
21
20
|
"scss/no-global-function-names": null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/stylelint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"repository": "dword-design/stylelint-config",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
14
|
-
}
|
|
11
|
+
"default": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
15
13
|
}
|
|
16
14
|
},
|
|
17
15
|
"main": "dist/index.js",
|
|
@@ -26,13 +24,15 @@
|
|
|
26
24
|
"lint": "base lint",
|
|
27
25
|
"prepare": "base prepare",
|
|
28
26
|
"prepublishOnly": "base prepublishOnly",
|
|
29
|
-
"test": "base test"
|
|
27
|
+
"test": "base test",
|
|
28
|
+
"typecheck": "base typecheck",
|
|
29
|
+
"verify": "base verify"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"depcheck-package-name": "^
|
|
32
|
+
"depcheck-package-name": "^4.0.1",
|
|
33
33
|
"postcss-html": "^1.8.0",
|
|
34
34
|
"stylelint-config-hudochenkov": "^11.0.0",
|
|
35
|
-
"stylelint-config-recommended-vue": "^1.6.
|
|
35
|
+
"stylelint-config-recommended-vue": "^1.6.1",
|
|
36
36
|
"stylelint-config-standard-scss": "^14.0.0",
|
|
37
37
|
"stylelint-config-tailwindcss": "^1.0.0",
|
|
38
38
|
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
|
|
@@ -41,18 +41,17 @@
|
|
|
41
41
|
"stylelint-use-nesting": "^6.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@dword-design/base": "^
|
|
45
|
-
"@playwright/test": "^1.
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"stylelint": "^16.
|
|
51
|
-
"with-local-tmp-dir": "^5.1.1"
|
|
44
|
+
"@dword-design/base": "^16.1.0",
|
|
45
|
+
"@playwright/test": "^1.57.0",
|
|
46
|
+
"@types/fs-extra": "^11.0.4",
|
|
47
|
+
"endent": "npm:@dword-design/endent@^1.4.7",
|
|
48
|
+
"execa": "^9.6.1",
|
|
49
|
+
"fs-extra": "^11.3.2",
|
|
50
|
+
"stylelint": "^16.26.1"
|
|
52
51
|
},
|
|
53
52
|
"packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac",
|
|
54
53
|
"engines": {
|
|
55
|
-
"node": ">=
|
|
54
|
+
"node": ">=22"
|
|
56
55
|
},
|
|
57
56
|
"publishConfig": {
|
|
58
57
|
"access": "public"
|