Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support stylelint v16 with vite-plugin-stylelint v5 #109

Merged
merged 5 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Or, with `npm`
npm install -D stylelint
```

**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).

## Setup

1. Add `@nuxtjs/stylelint-module` dependency to your project
Expand Down Expand Up @@ -135,6 +137,13 @@ Specify the formatter that you would like to use to format your results.

Check all matching files on project startup, too slow, turn on discreetly.

### `lintDirtyOnly`

- Type: `Boolean`
- Default: `true`

Lint changed files only when running Stylelint except from buildStart hook, all specified files from `include` option will be linted when disabled.

### `emitWarning`

- Type: `Boolean`
Expand Down
Loading