csstools / stylelint-use-logical

Enforce usage of logical properties and values in CSS
Creative Commons Zero v1.0 Universal
59 stars 9 forks source link

CommonJS plugins are deprecated #27

Closed Luquatic closed 6 months ago

Luquatic commented 6 months ago

when running stylelint I'm getting the following warning:

CommonJS plugins are deprecated ("/Users/.../node_modules/.pnpm/stylelint-use-logical@2.1.2_stylelint@16.2.1/node_modules/stylelint-use-logical/index.cjs"). See https://stylelint.io/migration-guide/to-16

Installed Packages

    "stylelint": "^16.2.1",
    "stylelint-config-prettier-scss": "^1.0.0",
    "stylelint-config-recommended-vue": "^1.5.0",
    "stylelint-config-standard-scss": "^13.0.0",
    "stylelint-use-logical": "^2.1.2",
dflynn15 commented 6 months ago

Unfortunately, this is an issue with Stylelint, not this plugin. The fix PR in Stylelint is here: https://github.com/stylelint/stylelint/pull/7532. However, it still has not been released :(

Luquatic commented 6 months ago

Thanks, seems to have been released now with 16.3.0!