@alexlit/config-stylelint 47.1.0 → 47.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/index.js CHANGED
@@ -1,56 +1,27 @@
1
1
  /* eslint-disable unicorn/no-null */
2
2
 
3
3
  const ADDITIONAL_PLUGINS = {
4
- /** @see [stylelint-a11y](https://github.com/double-great/stylelint-a11y) */
5
4
  a11y: true,
6
-
7
- /** @see [stylelint-color-format](https://github.com/filipekiss/stylelint-color-format) */
8
5
  'color-format': true,
9
-
10
- /** @see [stylelint-declaration-block-no-ignored-properties](https://github.com/kristerkari/stylelint-declaration-block-no-ignored-properties) */
11
6
  'declaration-block-no-ignored-properties': true,
12
-
13
- /** @see [stylelint-high-performance-animation](https://github.com/kristerkari/stylelint-high-performance-animation) */
14
7
  'high-performance-animation': true,
15
-
16
- /** @see [stylelint-no-nested-media](https://github.com/dkrnl/stylelint-no-nested-media) */
17
8
  'no-nested-media': true,
18
-
19
- /** @see [stylelint-no-unresolved-module](https://github.com/niksy/stylelint-no-unresolved-module) */
20
9
  'no-unresolved-module': true,
21
-
22
- /** @see [stylelint-order](https://github.com/hudochenkov/stylelint-order) */
23
10
  order: true,
24
-
25
- /** @see [stylelint-scss](https://github.com/kristerkari/stylelint-scss) */
26
11
  scss: true,
27
-
28
- /** @see [stylelint-selector-no-empty](https://github.com/ssivanatarajan/stylelint-selector-no-empty) */
29
12
  'selector-no-empty': true,
30
-
31
- /** @see [stylelint-use-nesting](https://github.com/csstools/stylelint-use-nesting) */
32
13
  'use-nesting': true,
33
-
34
- /** @see [stylelint-config-recommended-vue](https://github.com/ota-meshi/stylelint-config-recommended-vue) */
35
14
  vue: true,
36
15
  };
37
16
 
38
17
  const OPTIONAL_PLUGINS = {
39
- /** @see [stylelint-gamut](https://github.com/fpetrakov/stylelint-gamut) */
40
18
  gamut: false,
41
-
42
- /** @see [stylelint-plugin-logical-css](https://github.com/yuschick/stylelint-plugin-logical-css) */
43
19
  'logical-css': false,
44
-
45
- /** @see [stylelint-no-indistinguishable-colors](https://github.com/ierhyna/stylelint-no-indistinguishable-colors) */
46
20
  'no-indistinguishable-colors': false,
47
-
48
- /** @see [stylelint-no-unsupported-browser-features](https://github.com/ismay/stylelint-no-unsupported-browser-features) */
49
21
  'no-unsupported-browser-features': false,
50
22
  };
51
23
 
52
24
  const CODESTYLE_PLUGINS = {
53
- /** @see [stylelint-prettier](https://github.com/prettier/stylelint-prettier) */
54
25
  prettier: true,
55
26
  };
56
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-stylelint",
3
- "version": "47.1.0",
3
+ "version": "47.1.2",
4
4
  "private": false,
5
5
  "description": "Stylelint config",
6
6
  "keywords": [
@@ -56,6 +56,7 @@
56
56
  "node": ">=18.18"
57
57
  },
58
58
  "scripts": {
59
+ "lint": "cd ../../ && ./scripts/lint.stylelint.sh",
59
60
  "release": "../../scripts/release.sh",
60
61
  "semver": "../../scripts/semver.sh",
61
62
  "up": "../../scripts/up.sh"
package/plugins/a11y.js CHANGED
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-a11y](https://github.com/double-great/stylelint-a11y) */
1
2
  export default {
2
3
  plugins: ['@double-great/stylelint-a11y'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-color-format](https://github.com/filipekiss/stylelint-color-format) */
1
2
  export default {
2
3
  plugins: ['stylelint-color-format'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-declaration-block-no-ignored-properties](https://github.com/kristerkari/stylelint-declaration-block-no-ignored-properties) */
1
2
  export default {
2
3
  plugins: ['stylelint-declaration-block-no-ignored-properties'],
3
4
 
package/plugins/gamut.js CHANGED
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-gamut](https://github.com/fpetrakov/stylelint-gamut) */
1
2
  export default {
2
3
  plugins: ['stylelint-gamut'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-high-performance-animation](https://github.com/kristerkari/stylelint-high-performance-animation) */
1
2
  export default {
2
3
  plugins: ['stylelint-high-performance-animation'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-plugin-logical-css](https://github.com/yuschick/stylelint-plugin-logical-css) */
1
2
  export default {
2
3
  plugins: ['stylelint-plugin-logical-css'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-no-indistinguishable-colors](https://github.com/ierhyna/stylelint-no-indistinguishable-colors) */
1
2
  export default {
2
3
  plugins: ['stylelint-no-indistinguishable-colors'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-no-nested-media](https://github.com/dkrnl/stylelint-no-nested-media) */
1
2
  export default {
2
3
  plugins: ['stylelint-no-nested-media'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-no-unresolved-module](https://github.com/niksy/stylelint-no-unresolved-module) */
1
2
  export default {
2
3
  plugins: ['stylelint-no-unresolved-module'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-no-unsupported-browser-features](https://github.com/ismay/stylelint-no-unsupported-browser-features) */
1
2
  export default {
2
3
  plugins: ['stylelint-no-unsupported-browser-features'],
3
4
 
package/plugins/order.js CHANGED
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-order](https://github.com/hudochenkov/stylelint-order) */
1
2
  export default {
2
3
  plugins: ['stylelint-order'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-prettier](https://github.com/prettier/stylelint-prettier) */
1
2
  export default {
2
3
  plugins: ['stylelint-prettier'],
3
4
 
package/plugins/scss.js CHANGED
@@ -1,6 +1,8 @@
1
1
  /* eslint-disable unicorn/no-null */
2
+
2
3
  const KEBAB_CASE_PATTERN = '^[a-z]+([a-z0-9-]+[a-z0-9]+)?$';
3
4
 
5
+ /** @see [stylelint-scss](https://github.com/kristerkari/stylelint-scss) */
4
6
  export default {
5
7
  extends: ['stylelint-config-standard-scss'],
6
8
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-selector-no-empty](https://github.com/ssivanatarajan/stylelint-selector-no-empty) */
1
2
  export default {
2
3
  plugins: ['stylelint-selector-no-empty'],
3
4
 
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-use-nesting](https://github.com/csstools/stylelint-use-nesting) */
1
2
  export default {
2
3
  plugins: ['stylelint-use-nesting'],
3
4
 
package/plugins/vue.js CHANGED
@@ -1,3 +1,4 @@
1
+ /** @see [stylelint-config-recommended-vue](https://github.com/ota-meshi/stylelint-config-recommended-vue) */
1
2
  export default {
2
3
  extends: 'stylelint-config-recommended-vue',
3
4
  };