Skip to content

Commit

Permalink
Fix postcss dependency resolution warnings
Browse files Browse the repository at this point in the history
After running `yarn install`, the output includes these warnings:

```
➤ YN0002: │ stylelint-config-gds@npm:0.2.0 [cbec9] doesn't provide postcss (p4d8da), requested by stylelint-config-standard-scss
➤ YN0002: │ stylelint-config-recommended-scss@npm:5.0.2 [9cbe8] doesn't provide postcss (pefaf8), requested by postcss-scss
```

This fixes the above warnings as recommended in this github issues
thread - stylelint-scss/stylelint-config-recommended-scss#89 (comment)
  • Loading branch information
hannako committed Apr 3, 2023
1 parent da63594 commit 3afc219
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
yarnPath: .yarn/releases/yarn-3.5.0.cjs
nodeLinker: node-modules
packageExtensions:
stylelint-config-recommended-scss@*:
peerDependencies:
postcss: '8'
stylelint-config-standard-scss@*:
peerDependencies:
postcss: '8'
stylelint-config-gds@*:
peerDependencies:
postcss: '8'

0 comments on commit 3afc219

Please sign in to comment.