diff --git a/index.cjs b/index.cjs index 9aae0e6..b635722 100644 --- a/index.cjs +++ b/index.cjs @@ -17,13 +17,6 @@ const config = { ignoreAtRules: ['tailwind', 'theme'], }, ], - // Disable to avoid problems with Tailwind CSS direct - // children selector classes eg. `*:w-full` - // - // TODO: Remove if support or a workaround gets added for - // Tailwind CSS direct children selector classes - // - https://github.com/stylelint-scss/stylelint-scss/issues/999 - 'scss/operator-no-unspaced': null, }, }, { diff --git a/package.json b/package.json index 6ff6fe3..3344c06 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,8 @@ "vitest": "1.6.0" }, "peerDependencies": { - "stylelint": "^16.6.1" + "stylelint": "^16.6.1", + "stylelint-scss": "^6.3.1" }, "packageManager": "pnpm@9.1.4", "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebbf33c..69a0955 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: stylelint-config-recommended-scss: specifier: 14.0.0 version: 14.0.0(postcss@8.4.38)(stylelint@16.6.1(typescript@5.4.5)) + stylelint-scss: + specifier: ^6.3.1 + version: 6.3.1(stylelint@16.6.1(typescript@5.4.5)) devDependencies: eslint: specifier: 9.3.0 @@ -1626,9 +1629,6 @@ packages: resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} engines: {node: '>=0.10.0'} - known-css-properties@0.29.0: - resolution: {integrity: sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==} - known-css-properties@0.31.0: resolution: {integrity: sha512-sBPIUGTNF0czz0mwGGUoKKJC8Q7On1GPbCSFPfyEsfHb2DyBG0Y4QtV+EVWpINSaiGKZblDNuF5AezxSgOhesQ==} @@ -2198,8 +2198,8 @@ packages: peerDependencies: stylelint: ^16.0.0 - stylelint-scss@6.0.0: - resolution: {integrity: sha512-N1xV/Ef5PNRQQt9E45unzGvBUN1KZxCI8B4FgN/pMfmyRYbZGVN4y9qWlvOMdScU17c8VVCnjIHTVn38Bb6qSA==} + stylelint-scss@6.3.1: + resolution: {integrity: sha512-w/czBoWUZxJNk5fBRPODcXSN4qcPv3WHjTSSpFovVY+TE3MZTMR0yRlbmaDYrm8tTWHvpwQAuEBZ0lk2wwkboQ==} engines: {node: '>=18.12.0'} peerDependencies: stylelint: ^16.0.2 @@ -4248,8 +4248,6 @@ snapshots: kind-of@6.0.3: {} - known-css-properties@0.29.0: {} - known-css-properties@0.31.0: {} language-subtag-registry@0.3.22: {} @@ -4818,14 +4816,14 @@ snapshots: dependencies: stylelint: 16.6.1(typescript@5.4.5) optionalDependencies: - stylelint-scss: 6.0.0(stylelint@16.6.1(typescript@5.4.5)) + stylelint-scss: 6.3.1(stylelint@16.6.1(typescript@5.4.5)) stylelint-config-recommended-scss@14.0.0(postcss@8.4.38)(stylelint@16.6.1(typescript@5.4.5)): dependencies: postcss-scss: 4.0.9(postcss@8.4.38) stylelint: 16.6.1(typescript@5.4.5) stylelint-config-recommended: 14.0.0(stylelint@16.6.1(typescript@5.4.5)) - stylelint-scss: 6.0.0(stylelint@16.6.1(typescript@5.4.5)) + stylelint-scss: 6.3.1(stylelint@16.6.1(typescript@5.4.5)) optionalDependencies: postcss: 8.4.38 @@ -4833,9 +4831,9 @@ snapshots: dependencies: stylelint: 16.6.1(typescript@5.4.5) - stylelint-scss@6.0.0(stylelint@16.6.1(typescript@5.4.5)): + stylelint-scss@6.3.1(stylelint@16.6.1(typescript@5.4.5)): dependencies: - known-css-properties: 0.29.0 + known-css-properties: 0.31.0 postcss-media-query-parser: 0.2.3 postcss-resolve-nested-selector: 0.1.1 postcss-selector-parser: 6.1.0