stylelint-order 6.0.3 → 6.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-order",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
  "description": "A collection of order related linting rules for Stylelint.",
5
5
  "keywords": [
6
6
  "stylelint-plugin",
@@ -21,27 +21,28 @@
21
21
  ],
22
22
  "main": "index.js",
23
23
  "dependencies": {
24
- "postcss": "^8.4.21",
24
+ "postcss": "^8.4.32",
25
25
  "postcss-sorting": "^8.0.2"
26
26
  },
27
27
  "peerDependencies": {
28
- "stylelint": "^14.0.0 || ^15.0.0"
28
+ "stylelint": "^14.0.0 || ^15.0.0 || ^16.0.1"
29
29
  },
30
30
  "devDependencies": {
31
- "eslint": "^8.33.0",
31
+ "eslint": "^8.55.0",
32
32
  "eslint-config-hudochenkov": "^9.0.0",
33
- "eslint-config-prettier": "^8.6.0",
33
+ "eslint-config-prettier": "^9.1.0",
34
34
  "husky": "^8.0.3",
35
- "jest": "^29.4.2",
36
- "jest-preset-stylelint": "^6.0.0",
35
+ "jest": "^29.7.0",
36
+ "jest-light-runner": "^0.6.0",
37
+ "jest-preset-stylelint": "^7.0.0",
37
38
  "jest-watch-typeahead": "^2.2.2",
38
- "lint-staged": "^13.1.1",
39
+ "lint-staged": "^15.2.0",
39
40
  "postcss-html": "^1.5.0",
40
41
  "postcss-less": "^6.0.0",
41
- "postcss-styled-syntax": "^0.4.0",
42
- "prettier": "~2.8.4",
43
- "prettier-config-hudochenkov": "^0.3.0",
44
- "stylelint": "^15.2.0"
42
+ "postcss-styled-syntax": "^0.5.0",
43
+ "prettier": "~3.1.0",
44
+ "prettier-config-hudochenkov": "^0.4.0",
45
+ "stylelint": "^16.0.1"
45
46
  },
46
47
  "scripts": {
47
48
  "lint": "eslint . --max-warnings=0 && prettier '**/*.js' --check",
@@ -58,6 +59,7 @@
58
59
  ]
59
60
  },
60
61
  "jest": {
62
+ "runner": "jest-light-runner",
61
63
  "preset": "jest-preset-stylelint",
62
64
  "setupFiles": [
63
65
  "./jest-setup.js"
@@ -44,7 +44,7 @@ module.exports = function checkNode({
44
44
  node.each(function processEveryNode(child) {
45
45
  let { shouldSkip, isCorrectOrder, nodeData, previousNodeData } = handleCycle(
46
46
  child,
47
- allNodesData
47
+ allNodesData,
48
48
  );
49
49
 
50
50
  if (shouldSkip) {
@@ -40,7 +40,7 @@ module.exports = function checkOrder({
40
40
  stylelint.utils.report({
41
41
  message: messages.expected(
42
42
  secondNodeData.description,
43
- priorSpecifiedNodeData.description
43
+ priorSpecifiedNodeData.description,
44
44
  ),
45
45
  node: secondNodeData.node,
46
46
  result,
@@ -21,7 +21,7 @@ function rule(primaryOption, options = {}, context = {}) {
21
21
  unspecified: ['top', 'bottom', 'ignore'],
22
22
  },
23
23
  optional: true,
24
- }
24
+ },
25
25
  );
26
26
 
27
27
  if (!validOptions) {
@@ -75,7 +75,7 @@ module.exports = function checkNodeForOrder({
75
75
  message: messages.expected(
76
76
  checkedOrder.secondNode.name,
77
77
  checkedOrder.firstNode.name,
78
- orderData && orderData.groupName
78
+ orderData && orderData.groupName,
79
79
  ),
80
80
  node: checkedOrder.secondNode.node,
81
81
  result,
@@ -35,7 +35,7 @@ module.exports = function checkOrder({
35
35
  if (firstPropIsSpecified && secondPropIsSpecified) {
36
36
  return report(
37
37
  firstPropertyData.orderData.expectedPosition <=
38
- secondPropertyData.orderData.expectedPosition
38
+ secondPropertyData.orderData.expectedPosition,
39
39
  );
40
40
  }
41
41
 
@@ -26,7 +26,7 @@ function rule(primaryOption, options = {}, context = {}) {
26
26
  emptyLineMinimumPropertyThreshold: isNumber,
27
27
  },
28
28
  optional: true,
29
- }
29
+ },
30
30
  );
31
31
 
32
32
  if (!validOptions) {