@dword-design/stylelint-config 4.0.2 → 4.0.3

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/README.md CHANGED
@@ -3,49 +3,49 @@
3
3
  <!-- /TITLE -->
4
4
 
5
5
  <!-- BADGES/ -->
6
- <p>
7
- <a href="https://npmjs.org/package/@dword-design/stylelint-config">
8
- <img
9
- src="https://img.shields.io/npm/v/@dword-design/stylelint-config.svg"
10
- alt="npm version"
11
- >
12
- </a><img src="https://img.shields.io/badge/os-linux%20%7C%C2%A0macos%20%7C%C2%A0windows-blue" alt="Linux macOS Windows compatible"><a href="https://github.com/dword-design/stylelint-config/actions">
13
- <img
14
- src="https://github.com/dword-design/stylelint-config/workflows/build/badge.svg"
15
- alt="Build status"
16
- >
17
- </a><a href="https://codecov.io/gh/dword-design/stylelint-config">
18
- <img
19
- src="https://codecov.io/gh/dword-design/stylelint-config/branch/master/graph/badge.svg"
20
- alt="Coverage status"
21
- >
22
- </a><a href="https://david-dm.org/dword-design/stylelint-config">
23
- <img src="https://img.shields.io/david/dword-design/stylelint-config" alt="Dependency status">
24
- </a><img src="https://img.shields.io/badge/renovate-enabled-brightgreen" alt="Renovate enabled"><br/><a href="https://gitpod.io/#https://github.com/dword-design/stylelint-config">
25
- <img
26
- src="https://gitpod.io/button/open-in-gitpod.svg"
27
- alt="Open in Gitpod"
28
- width="114"
29
- >
30
- </a><a href="https://www.buymeacoffee.com/dword">
31
- <img
32
- src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg"
33
- alt="Buy Me a Coffee"
34
- width="114"
35
- >
36
- </a><a href="https://paypal.me/SebastianLandwehr">
37
- <img
38
- src="https://sebastianlandwehr.com/images/paypal.svg"
39
- alt="PayPal"
40
- width="163"
41
- >
42
- </a><a href="https://www.patreon.com/dworddesign">
43
- <img
44
- src="https://sebastianlandwehr.com/images/patreon.svg"
45
- alt="Patreon"
46
- width="163"
47
- >
48
- </a>
6
+ <p>
7
+ <a href="https://npmjs.org/package/@dword-design/stylelint-config">
8
+ <img
9
+ src="https://img.shields.io/npm/v/@dword-design/stylelint-config.svg"
10
+ alt="npm version"
11
+ >
12
+ </a><img src="https://img.shields.io/badge/os-linux%20%7C%C2%A0macos%20%7C%C2%A0windows-blue" alt="Linux macOS Windows compatible"><a href="https://github.com/dword-design/stylelint-config/actions">
13
+ <img
14
+ src="https://github.com/dword-design/stylelint-config/workflows/build/badge.svg"
15
+ alt="Build status"
16
+ >
17
+ </a><a href="https://codecov.io/gh/dword-design/stylelint-config">
18
+ <img
19
+ src="https://codecov.io/gh/dword-design/stylelint-config/branch/master/graph/badge.svg"
20
+ alt="Coverage status"
21
+ >
22
+ </a><a href="https://david-dm.org/dword-design/stylelint-config">
23
+ <img src="https://img.shields.io/david/dword-design/stylelint-config" alt="Dependency status">
24
+ </a><img src="https://img.shields.io/badge/renovate-enabled-brightgreen" alt="Renovate enabled"><br/><a href="https://gitpod.io/#https://github.com/dword-design/stylelint-config">
25
+ <img
26
+ src="https://gitpod.io/button/open-in-gitpod.svg"
27
+ alt="Open in Gitpod"
28
+ width="114"
29
+ >
30
+ </a><a href="https://www.buymeacoffee.com/dword">
31
+ <img
32
+ src="https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg"
33
+ alt="Buy Me a Coffee"
34
+ width="114"
35
+ >
36
+ </a><a href="https://paypal.me/SebastianLandwehr">
37
+ <img
38
+ src="https://sebastianlandwehr.com/images/paypal.svg"
39
+ alt="PayPal"
40
+ width="163"
41
+ >
42
+ </a><a href="https://www.patreon.com/dworddesign">
43
+ <img
44
+ src="https://sebastianlandwehr.com/images/patreon.svg"
45
+ alt="Patreon"
46
+ width="163"
47
+ >
48
+ </a>
49
49
  </p>
50
50
  <!-- /BADGES -->
51
51
 
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ extends: any[];
3
+ plugins: any[];
4
+ rules: {
5
+ 'csstools/use-nesting': (string | {
6
+ except: RegExp;
7
+ })[];
8
+ 'no-empty-source': null;
9
+ 'plugin/declaration-block-no-ignored-properties': boolean;
10
+ 'scss/no-global-function-names': null;
11
+ 'selector-pseudo-class-no-unknown': (boolean | {
12
+ ignorePseudoClasses: string[];
13
+ })[];
14
+ };
15
+ };
16
+ export default _default;
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
- import packageName from 'depcheck-package-name';
2
- import stylelintUseNesting from 'stylelint-use-nesting';
1
+ import packageName from "depcheck-package-name";
2
+ import stylelintUseNesting from "stylelint-use-nesting";
3
3
  export default {
4
4
  extends: [packageName`stylelint-config-standard-scss`, `${packageName`stylelint-config-hudochenkov`}/order`, `${packageName`stylelint-prettier`}/recommended`, `${packageName`stylelint-config-recommended-vue`}/scss`],
5
5
  plugins: [stylelintUseNesting,
6
6
  // "CommonJS plugins are deprecated" error when listing it as a string
7
7
  packageName`stylelint-declaration-block-no-ignored-properties`],
8
8
  rules: {
9
- 'csstools/use-nesting': ['always', {
9
+ "csstools/use-nesting": ["always", {
10
10
  except: /&:(hover|focus)/
11
11
  }],
12
- 'no-empty-source': null,
13
- 'plugin/declaration-block-no-ignored-properties': true,
14
- 'scss/no-global-function-names': null,
15
- 'selector-pseudo-class-no-unknown': [true, {
16
- ignorePseudoClasses: ['global']
12
+ "no-empty-source": null,
13
+ "plugin/declaration-block-no-ignored-properties": true,
14
+ "scss/no-global-function-names": null,
15
+ "selector-pseudo-class-no-unknown": [true, {
16
+ ignorePseudoClasses: ["global"]
17
17
  }]
18
18
  }
19
19
  };
package/package.json CHANGED
@@ -1,12 +1,19 @@
1
1
  {
2
2
  "name": "@dword-design/stylelint-config",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "repository": "dword-design/stylelint-config",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",
7
7
  "author": "Sebastian Landwehr <info@sebastianlandwehr.com>",
8
8
  "type": "module",
9
- "exports": "./dist/index.js",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "default": "./dist/index.js",
13
+ "types": "./dist/index.d.ts"
14
+ }
15
+ }
16
+ },
10
17
  "main": "dist/index.js",
11
18
  "files": [
12
19
  "dist"
@@ -33,15 +40,16 @@
33
40
  "stylelint-use-nesting": "^6.0.0"
34
41
  },
35
42
  "devDependencies": {
36
- "@dword-design/base": "^11.2.10",
37
- "@dword-design/functions": "^6.0.2",
38
- "@dword-design/tester": "^2.0.19",
43
+ "@dword-design/base": "^13.0.7",
44
+ "@playwright/test": "^1.53.0",
45
+ "endent": "npm:@dword-design/endent@^1.4.1",
39
46
  "execa": "^9.5.2",
40
47
  "fs-extra": "^11.3.0",
48
+ "lodash-es": "^4.17.21",
41
49
  "stylelint": "^16.18.0",
42
50
  "with-local-tmp-dir": "^5.1.1"
43
51
  },
44
- "packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c",
52
+ "packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac",
45
53
  "engines": {
46
54
  "node": ">=18"
47
55
  },