stylelint-plugin-logical-css 1.2.2 → 1.3.0

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-plugin-logical-css",
3
- "version": "1.2.2",
3
+ "version": "1.3.0",
4
4
  "description": "A Stylelint plugin to enforce the use of logical CSS properties, values and units.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -39,18 +39,21 @@
39
39
  "logical css"
40
40
  ],
41
41
  "peerDependencies": {
42
- "stylelint": "^14.0.0 || ^15.0.0 || ^16.0.0"
42
+ "stylelint": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "cross-env": "^7.0.3",
46
- "eslint": "^8.35.0",
47
- "jest": "^29.4.3",
48
- "jest-cli": "^29.4.3",
49
- "jest-light-runner": "^0.6.0",
50
- "jest-preset-stylelint": "^7.0.0",
51
- "lint-staged": "^15.0.2",
52
- "prettier": "^3.0.3",
53
- "prettier-eslint": "^16.1.2",
54
- "stylelint": "^16.1.0"
45
+ "@commitlint/cli": "^20.4.0",
46
+ "@commitlint/config-conventional": "^20.4.0",
47
+ "cross-env": "^10.1.0",
48
+ "eslint": "^8.57.1",
49
+ "husky": "^9.1.7",
50
+ "jest": "^30.2.0",
51
+ "jest-cli": "^30.2.0",
52
+ "jest-light-runner": "^0.7.11",
53
+ "jest-preset-stylelint": "^9.1.0",
54
+ "lint-staged": "^16.2.7",
55
+ "prettier": "^3.8.1",
56
+ "prettier-eslint": "^16.4.2",
57
+ "stylelint": "^17.1.0"
55
58
  }
56
- }
59
+ }
@@ -43,6 +43,7 @@ const ruleFunction = (_, options, context) => {
43
43
  const physicalTransitionProperties =
44
44
  isTransitionProperty &&
45
45
  Object.values(physicalProperties)
46
+ .filter((property) => !(options?.ignore || []).includes(property))
46
47
  .flatMap((property) => {
47
48
  const exp = new RegExp(`(^|[^\\w-])${property}([^\\w-]|$)`);
48
49
  return decl.value.match(exp);