From cd4a789085c6de9a8feea0b34d21d53d61407ec7 Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Thu, 22 Aug 2024 12:19:19 +0200 Subject: [PATCH] Switch `@visionappscz/stylelint-config` to v4 --- package-lock.json | 8 ++++---- package.json | 2 +- stylelint.config.js | 21 --------------------- 3 files changed, 5 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index a8df1a8b..6cc61821 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@visionappscz/eslint-config-visionapps": "^1.7.0", - "@visionappscz/stylelint-config": "^4.0.0-beta1", + "@visionappscz/stylelint-config": "^4.0.0", "autoprefixer": "^10.4.19", "babel-jest": "^29.7.0", "babel-loader": "^9.1.3", @@ -3932,9 +3932,9 @@ } }, "node_modules/@visionappscz/stylelint-config": { - "version": "4.0.0-beta1", - "resolved": "https://registry.npmjs.org/@visionappscz/stylelint-config/-/stylelint-config-4.0.0-beta1.tgz", - "integrity": "sha512-SE2dcvhcwL2lsgylz1krlfpLLovdk+Up9jN9ANVMSh4IOAtrNcJPNB4Oxc3WAx4F3w7Z7ZEhDeluevLo5F2lqw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@visionappscz/stylelint-config/-/stylelint-config-4.0.0.tgz", + "integrity": "sha512-dCh1oQxgzpg3ML4zeYqzo8XYPDUx4xXJ7Nx7mF2NU4dDvsuJZXee32U5Z9tUnTxL1kimRpraVIPzHmOI5wN0WQ==", "dev": true, "dependencies": { "stylelint-config-standard": "^36.0.0", diff --git a/package.json b/package.json index b604286b..ba6c8604 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@visionappscz/eslint-config-visionapps": "^1.7.0", - "@visionappscz/stylelint-config": "^4.0.0-beta1", + "@visionappscz/stylelint-config": "^4.0.0", "autoprefixer": "^10.4.19", "babel-jest": "^29.7.0", "babel-loader": "^9.1.3", diff --git a/stylelint.config.js b/stylelint.config.js index ef054611..a9acf4f2 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -28,27 +28,6 @@ module.exports = { }, ], - // Override `@visionappscz/stylelint-config/order` rules to ignore all block at rules: - 'order/order': [ - 'dollar-variables', - 'custom-properties', - { - name: 'extend', - type: 'at-rule', - }, - { - hasBlock: false, - name: 'include', - type: 'at-rule', - }, - 'declarations', - 'rules', - // { - // hasBlock: true, - // type: 'at-rule', - // }, - ], - // Require camelCase pattern for class names as they are picked up by dot notation in JS. // Also allow kebab-case class names for global helper and utility classes. //