Skip to content

Commit 4f3f1e7

Browse files
authored
chore: move preprocessor deps to peerDependencies
1 parent 067cb39 commit 4f3f1e7

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
@@ -108,12 +108,12 @@
108108
"lodash": "^4.17.21",
109109
"postcss": "^8.4.31",
110110
"postcss-safe-parser": "^6.0.0",
111-
"postcss-scss": "^4.0.3",
112-
"postcss-selector-parser": "^7.0.0",
113-
"postcss-styl": "^0.12.0"
111+
"postcss-selector-parser": "^7.0.0"
114112
},
115113
"peerDependencies": {
116114
"eslint": ">=5.0.0",
115+
"postcss-scss": "^4.0.3",
116+
"postcss-styl": "^0.12.0",
117117
"vue-eslint-parser": ">=7.1.0"
118118
},
119119
"nyc": {

0 commit comments

Comments
 (0)