@oroinc/oro-stylelint-config 5.1.0-lts001 → 6.1.0-lts001

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 (3) hide show
  1. package/LICENSE +1 -3
  2. package/index.js +40 -41
  3. package/package.json +9 -7
package/LICENSE CHANGED
@@ -1,8 +1,6 @@
1
- oro-stylelint-config
2
-
3
1
  The MIT License (MIT)
4
2
 
5
- Copyright (c) 2013, Oro, Inc.
3
+ Copyright (c) 2024 Oro Inc.
6
4
 
7
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
6
  of this software and associated documentation files (the "Software"), to deal
package/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  /* eslint-disable quote-props */
3
3
 
4
4
  module.exports = {
5
- 'plugins': ['stylelint-scss', 'stylelint-declaration-strict-value'],
6
- 'extends': ['stylelint-config-recommended-scss'],
5
+ 'plugins': ['stylelint-scss', 'stylelint-declaration-strict-value', '@stylistic/stylelint-plugin'],
6
+ 'extends': ['@stylistic/stylelint-config', 'stylelint-config-recommended-scss'],
7
7
  'rules': {
8
8
  'at-rule-empty-line-before': [
9
9
  'always',
@@ -22,15 +22,6 @@ module.exports = {
22
22
  }
23
23
  ],
24
24
  'at-rule-no-vendor-prefix': true,
25
- 'block-closing-brace-newline-after': [
26
- 'always',
27
- {
28
- 'ignoreAtRules': [
29
- 'else',
30
- 'if'
31
- ]
32
- }
33
- ],
34
25
  'color-named': 'never',
35
26
  'comment-word-disallowed-list': [
36
27
  '/todo/i'
@@ -56,16 +47,6 @@ module.exports = {
56
47
  }
57
48
  ],
58
49
  'declaration-no-important': true,
59
- 'function-comma-newline-after': null,
60
- 'indentation': [
61
- 4,
62
- {
63
- 'indentClosingBrace': false,
64
- 'ignore': [
65
- 'value'
66
- ]
67
- }
68
- ],
69
50
  'max-nesting-depth': [
70
51
  5,
71
52
  {
@@ -80,26 +61,8 @@ module.exports = {
80
61
  ]
81
62
  }
82
63
  ],
83
- 'max-line-length': [
84
- 120,
85
- {
86
- 'ignore': [
87
- 'comments'
88
- ]
89
- }
90
- ],
91
64
  'media-feature-name-no-vendor-prefix': true,
92
- 'no-empty-first-line': true,
93
- 'no-eol-whitespace': [
94
- true,
95
- {
96
- 'ignore': [
97
- 'empty-lines'
98
- ]
99
- }
100
- ],
101
65
  'no-invalid-position-at-import-rule': null,
102
- 'number-leading-zero': 'never',
103
66
  'property-no-vendor-prefix': true,
104
67
  'selector-max-compound-selectors': 4,
105
68
  'selector-max-id': 1,
@@ -124,7 +87,6 @@ module.exports = {
124
87
  }
125
88
  ],
126
89
  'shorthand-property-no-redundant-values': true,
127
- 'string-quotes': 'single',
128
90
  'value-no-vendor-prefix': [
129
91
  true,
130
92
  {
@@ -133,7 +95,44 @@ module.exports = {
133
95
  ]
134
96
  }
135
97
  ],
136
- 'value-list-comma-newline-after': null,
98
+ '@stylistic/value-list-comma-newline-after': null,
99
+ '@stylistic/block-closing-brace-newline-after': [
100
+ 'always',
101
+ {
102
+ 'ignoreAtRules': [
103
+ 'else',
104
+ 'if'
105
+ ]
106
+ }
107
+ ],
108
+ '@stylistic/max-line-length': [
109
+ 120,
110
+ {
111
+ 'ignore': [
112
+ 'comments'
113
+ ]
114
+ }
115
+ ],
116
+ '@stylistic/no-eol-whitespace': [
117
+ true,
118
+ {
119
+ 'ignore': [
120
+ 'empty-lines'
121
+ ]
122
+ }
123
+ ],
124
+ '@stylistic/number-leading-zero': 'never',
125
+ '@stylistic/string-quotes': 'single',
126
+ '@stylistic/indentation': [
127
+ 4,
128
+ {
129
+ 'indentClosingBrace': false,
130
+ 'ignore': [
131
+ 'value'
132
+ ]
133
+ }
134
+ ],
135
+ '@stylistic/function-comma-newline-after': null,
137
136
  'scss/at-else-if-parentheses-space-before': 'always',
138
137
  'scss/at-else-empty-line-before': 'never',
139
138
  'scss/at-function-pattern': '^[a-z]+([a-z0-9-]+[a-z0-9]+)?$',
package/package.json CHANGED
@@ -1,18 +1,20 @@
1
1
  {
2
2
  "name": "@oroinc/oro-stylelint-config",
3
- "author": "Oro, Inc (https://www.oroinc.com)",
3
+ "author": "Oro, Inc. (https://oroinc.com)",
4
4
  "license": "MIT",
5
- "version": "5.1.0-lts001",
5
+ "version": "6.1.0-lts001",
6
6
  "description": "Stylelint config used by ORO",
7
7
  "main": "index.js",
8
8
  "files": [
9
9
  "index.js"
10
10
  ],
11
11
  "dependencies": {
12
- "postcss": "^8.4.19",
13
- "stylelint": "^15.3.0",
14
- "stylelint-config-standard": "^31.0.0",
15
- "stylelint-declaration-strict-value": "^1.9.1",
16
- "stylelint-config-recommended-scss": "^9.0.1"
12
+ "@stylistic/stylelint-config": "^2.0.0",
13
+ "@stylistic/stylelint-plugin": "^3.1.2",
14
+ "postcss": "^8.5.3",
15
+ "stylelint": "^16.17.0",
16
+ "stylelint-config-recommended-scss": "^14.0.0",
17
+ "stylelint-config-standard": "^37.0.0",
18
+ "stylelint-declaration-strict-value": "^1.10.11"
17
19
  }
18
20
  }