Skip to content

Commit 9f34e64

Browse files
authored
chore: move preprocessor deps to peerDependencies
1 parent 1fb9414 commit 9f34e64

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ See [documents](https://future-architect.github.io/eslint-plugin-vue-scoped-css/
3939
npm install --save-dev eslint eslint-plugin-vue-scoped-css vue-eslint-parser
4040
```
4141

42+
If you use SCSS or STYLUS in your project, you also need to run:
43+
44+
* SCSS: `npm install --save-dev postcss-scss`
45+
* Stylus: `npm install --save-dev postcss-styl`
46+
4247
> **Requirements**
4348
>
4449
> - ESLint v6.0.0 and above

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@
105105
"lodash": "^4.17.21",
106106
"postcss": "^8.4.31",
107107
"postcss-safe-parser": "^6.0.0",
108-
"postcss-scss": "^4.0.3",
109-
"postcss-selector-parser": "^6.0.9",
110-
"postcss-styl": "^0.12.0"
108+
"postcss-selector-parser": "^6.0.9"
111109
},
112110
"peerDependencies": {
113111
"eslint": ">=5.0.0",
112+
"postcss-scss": "^4.0.3",
113+
"postcss-styl": "^0.12.0",
114114
"vue-eslint-parser": ">=7.1.0"
115115
},
116116
"nyc": {

0 commit comments

Comments
 (0)