Skip to content

Commit f5e5e4c

Browse files
fix: remove outdated stylelint types (#260)
1 parent 9d1c124 commit f5e5e4c

File tree

3 files changed

+3
-71
lines changed

3 files changed

+3
-71
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ npm install stylelint-webpack-plugin --save-dev
3131
npm install stylelint --save-dev
3232
```
3333

34+
**Note**: If you are using Stylelint 13 rather than 14+, you might also need to install `@types/stylelint` as a dev dependency if getting stylelint related type errors.
35+
3436
Then add the plugin to your webpack config. For example:
3537

3638
```js

package-lock.json

Lines changed: 0 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@
4646
"webpack": "^5.0.0"
4747
},
4848
"dependencies": {
49-
"@types/stylelint": "^13.13.3",
50-
"globby": "^11.0.4",
5149
"jest-worker": "^27.3.1",
50+
"globby": "^11.0.4",
5251
"micromatch": "^4.0.4",
5352
"normalize-path": "^3.0.0",
5453
"schema-utils": "^4.0.0"

0 commit comments

Comments
 (0)