@cherepanov.pavel/shareable-config 1.0.13 → 1.0.14

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 (47) hide show
  1. package/.editorconfig-get.js +6 -6
  2. package/.get-all.js +12 -12
  3. package/.gitattributes-get.js +6 -6
  4. package/.gitignore-get.js +12 -12
  5. package/.vscode/.code-snippets-get.js +14 -14
  6. package/.vscode/extensions.json-get.js +12 -12
  7. package/.vscode/settings.json-get.js +12 -12
  8. package/env.json5.set.js +2 -2
  9. package/package.json +1 -1
  10. package/tools/eslint-config/configs/global.js +9 -9
  11. package/tools/eslint-config/configs/javascript.js +7 -7
  12. package/tools/eslint-config/configs/json.js +57 -57
  13. package/tools/eslint-config/configs/typescript.js +9 -9
  14. package/tools/eslint-config/configs/vue.js +16 -16
  15. package/tools/eslint-config/index.js +5 -5
  16. package/tools/eslint-config/rules/constants.js +1 -1
  17. package/tools/eslint-config/rules/javascript/index.js +2 -2
  18. package/tools/eslint-config/rules/javascript/possible-problems.js +60 -60
  19. package/tools/eslint-config/rules/javascript/suggestions.js +206 -207
  20. package/tools/eslint-config/rules/severity.js +3 -3
  21. package/tools/eslint-config/rules/stylistic/index.js +2 -2
  22. package/tools/eslint-config/rules/stylistic/jsFormatting.js +113 -114
  23. package/tools/eslint-config/rules/stylistic/tsFormatting.js +5 -5
  24. package/tools/eslint-config/rules/typescript/common.js +103 -103
  25. package/tools/eslint-config/rules/typescript/compatibility.js +21 -21
  26. package/tools/eslint-config/rules/typescript/extension.js +46 -46
  27. package/tools/eslint-config/rules/typescript/index.js +3 -3
  28. package/tools/eslint-config/rules/vue/base.js +3 -3
  29. package/tools/eslint-config/rules/vue/extension.js +46 -45
  30. package/tools/eslint-config/rules/vue/formatting.js +33 -37
  31. package/tools/eslint-config/rules/vue/index.js +5 -5
  32. package/tools/eslint-config/rules/vue/possibleProblems.js +123 -123
  33. package/tools/eslint-config/rules/vue/suggestions.js +76 -76
  34. package/tools/stylelint-config/config.js +11 -11
  35. package/tools/stylelint-config/rules/base.js +19 -19
  36. package/tools/stylelint-config/rules/conflicts.js +2 -2
  37. package/tools/stylelint-config/rules/order.js +19 -19
  38. package/tools/stylelint-config/rules/property-groups.js +337 -337
  39. package/tools/stylelint-config/rules/scss.js +4 -4
  40. package/tools/stylelint-config/rules/stylistic.js +82 -82
  41. package/utils/communication.js +3 -3
  42. package/utils/copy-with-override.js +9 -9
  43. package/utils/env.js +6 -6
  44. package/utils/file-header.js +8 -8
  45. package/utils/file.js +12 -12
  46. package/utils/lint.js +2 -2
  47. package/utils/merge.js +11 -11
@@ -1,32 +1,32 @@
1
1
  export default {
2
2
  rules: {
3
- 'color-hex-alpha': 'never',
4
- 'color-hex-length': 'long',
5
- 'color-named': 'never',
6
- 'declaration-no-important': true,
7
- 'declaration-property-value-no-unknown': null,
8
- 'font-family-name-quotes': 'always-unless-keyword',
9
- 'font-family-no-missing-generic-family-keyword': null,
10
- 'font-weight-notation': [
11
- 'numeric',
3
+ "color-hex-alpha": "never",
4
+ "color-hex-length": "long",
5
+ "color-named": "never",
6
+ "declaration-no-important": true,
7
+ "declaration-property-value-no-unknown": null,
8
+ "font-family-name-quotes": "always-unless-keyword",
9
+ "font-family-no-missing-generic-family-keyword": null,
10
+ "font-weight-notation": [
11
+ "numeric",
12
12
  {
13
- ignore: ['relative'],
13
+ ignore: ["relative"],
14
14
  },
15
15
  ],
16
- 'max-nesting-depth': [
16
+ "max-nesting-depth": [
17
17
  7,
18
18
  {
19
19
  ignore: [
20
- 'blockless-at-rules',
21
- 'pseudo-classes',
20
+ "blockless-at-rules",
21
+ "pseudo-classes",
22
22
  ],
23
23
  },
24
24
  ],
25
- 'media-feature-name-value-no-unknown': true,
26
- 'no-descending-specificity': null,
27
- 'selector-class-pattern': null,
28
- 'selector-max-compound-selectors': 99,
29
- 'selector-max-id': 0,
30
- 'selector-max-universal': 2,
25
+ "media-feature-name-value-no-unknown": true,
26
+ "no-descending-specificity": null,
27
+ "selector-class-pattern": null,
28
+ "selector-max-compound-selectors": 99,
29
+ "selector-max-id": 0,
30
+ "selector-max-universal": 2,
31
31
  },
32
32
  };
@@ -1,7 +1,7 @@
1
1
  export default {
2
2
  rules: {
3
- 'declaration-empty-line-before': null, // order/properties-order [./order.cjs]
3
+ "declaration-empty-line-before": null, // order/properties-order [./order.cjs]
4
4
  // https://gitlab.kadnk.ru/frontend/configs/-/issues/2
5
- 'length-zero-no-unit': null,
5
+ "length-zero-no-unit": null,
6
6
  },
7
7
  };
@@ -1,41 +1,41 @@
1
- import { propertyGroups } from './property-groups.js';
1
+ import { propertyGroups } from "./property-groups.js";
2
2
 
3
3
  export default {
4
- plugins: ['stylelint-order'],
4
+ plugins: ["stylelint-order"],
5
5
  rules: {
6
- 'order/order': [
6
+ "order/order": [
7
7
  [
8
- 'dollar-variables',
9
- 'custom-properties',
10
- 'declarations',
8
+ "dollar-variables",
9
+ "custom-properties",
10
+ "declarations",
11
11
  {
12
- type: 'at-rule',
13
- name: 'supports',
12
+ type: "at-rule",
13
+ name: "supports",
14
14
  },
15
- 'rules',
15
+ "rules",
16
16
  {
17
- type: 'at-rule',
18
- name: 'container',
17
+ type: "at-rule",
18
+ name: "container",
19
19
  },
20
20
  {
21
- type: 'at-rule',
22
- name: 'media',
21
+ type: "at-rule",
22
+ name: "media",
23
23
  },
24
24
  ],
25
- { severity: 'error' },
25
+ { severity: "error" },
26
26
  ],
27
- 'order/properties-order': [
27
+ "order/properties-order": [
28
28
  propertyGroups.map((group) => {
29
29
  return {
30
30
  ...group,
31
- emptyLineBefore: 'always',
31
+ emptyLineBefore: "always",
32
32
  noEmptyLineBetween: true,
33
33
  };
34
34
  }),
35
35
  {
36
- unspecified: 'bottom',
37
- emptyLineBeforeUnspecified: 'always',
38
- severity: 'error',
36
+ unspecified: "bottom",
37
+ emptyLineBeforeUnspecified: "always",
38
+ severity: "error",
39
39
  },
40
40
  ],
41
41
  },