Skip to content

Commit d831875

Browse files
docs: remove note for stylelint 16
1 parent ca1b6e9 commit d831875

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

README.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ Or, with `npm`
3939
npm install -D stylelint
4040
```
4141

42-
**Note:** Currently, this module is compatible with the latest version 16 of `stylelint` only when using vite, support for webpack is not yet implemented (see https://github.com/webpack-contrib/stylelint-webpack-plugin/issues/342).
43-
4442
## Setup
4543

4644
1. Add `@nuxtjs/stylelint-module` dependency to your project
@@ -69,25 +67,28 @@ npm install -D @nuxtjs/stylelint-module
6967
export default {
7068
modules: [
7169
// Simple usage
72-
'@nuxtjs/stylelint-module',
70+
"@nuxtjs/stylelint-module",
7371

7472
// With options
75-
['@nuxtjs/stylelint-module', { /* module options */ }]
76-
]
77-
}
73+
[
74+
"@nuxtjs/stylelint-module",
75+
{
76+
/* module options */
77+
},
78+
],
79+
],
80+
};
7881
```
7982

8083
### Using top level options
8184

8285
```js
8386
export default {
84-
modules: [
85-
'@nuxtjs/stylelint-module'
86-
],
87+
modules: ["@nuxtjs/stylelint-module"],
8788
stylelint: {
8889
/* module options */
89-
}
90-
}
90+
},
91+
};
9192
```
9293

9394
## Options
@@ -193,17 +194,14 @@ Or locally:
193194
Copyright (c) Nuxt Modules
194195

195196
<!-- Badges -->
197+
196198
[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/stylelint-module/latest.svg
197199
[npm-version-href]: https://npmjs.com/package/@nuxtjs/stylelint-module
198-
199200
[npm-downloads-src]: https://img.shields.io/npm/dt/@nuxtjs/stylelint-module.svg
200201
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/stylelint-module
201-
202202
[github-actions-ci-src]: https://github.com/nuxt-modules/stylelint/workflows/ci/badge.svg
203203
[github-actions-ci-href]: https://github.com/nuxt-modules/stylelint/actions?query=workflow%3Aci
204-
205204
[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-modules/stylelint.svg
206205
[codecov-href]: https://codecov.io/gh/nuxt-modules/stylelint
207-
208206
[license-src]: https://img.shields.io/npm/l/@nuxtjs/stylelint-module.svg
209207
[license-href]: https://npmjs.com/package/@nuxtjs/stylelint-module

0 commit comments

Comments
 (0)