stylelint-plugin-logical-css 1.2.1 → 1.2.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/README.md CHANGED
@@ -251,7 +251,7 @@ directions. Instead, this rule will enforce the logical equivalents, `vi` and
251
251
  ```json
252
252
  {
253
253
  "rules": {
254
- "plugin/use-logical-properties-and-values": [
254
+ "plugin/use-logical-units": [
255
255
  true,
256
256
  {
257
257
  "severity": "warning",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylelint-plugin-logical-css",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
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",
@@ -10,7 +10,6 @@
10
10
  "!**/**/*.test.js"
11
11
  ],
12
12
  "scripts": {
13
- "prepare": "husky install",
14
13
  "jest": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest --runInBand",
15
14
  "test": "npm run jest",
16
15
  "test:watch": "npm run jest -- --watch"
@@ -36,18 +35,15 @@
36
35
  "lint",
37
36
  "linter",
38
37
  "stylelint",
39
- "stylelint-plugin",
38
+ "stylelint plugin",
40
39
  "logical css"
41
40
  ],
42
41
  "peerDependencies": {
43
42
  "stylelint": "^14.0.0 || ^15.0.0 || ^16.0.0"
44
43
  },
45
44
  "devDependencies": {
46
- "@commitlint/cli": "^18.4.3",
47
- "@commitlint/config-conventional": "^18.4.3",
48
45
  "cross-env": "^7.0.3",
49
46
  "eslint": "^8.35.0",
50
- "husky": "^8.0.3",
51
47
  "jest": "^29.4.3",
52
48
  "jest-cli": "^29.4.3",
53
49
  "jest-light-runner": "^0.6.0",
@@ -56,11 +52,5 @@
56
52
  "prettier": "^3.0.3",
57
53
  "prettier-eslint": "^16.1.2",
58
54
  "stylelint": "^16.1.0"
59
- },
60
- "lint-staged": {
61
- "**/*.js|md|json": [
62
- "eslint",
63
- "prettier --write"
64
- ]
65
55
  }
66
- }
56
+ }
@@ -44,7 +44,6 @@ export const logicalProperties = Object.freeze({
44
44
  containIntrinsicBlockSize: 'contain-intrinsic-block-size',
45
45
  containIntrinsicInlineSize: 'contain-intrinsic-inline-size',
46
46
  inlineSize: 'inline-size',
47
- inset: 'inset',
48
47
  insetBlock: 'inset-block',
49
48
  insetBlockEnd: 'inset-block-end',
50
49
  insetBlockStart: 'inset-block-start',