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: depend on eslint-plugin-wc #143

Closed
wants to merge 3 commits into from
Closed
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
24 changes: 3 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ If you want more fine-grained configuration, you can instead add a snippet like
- [lit/no-value-attribute](docs/rules/no-value-attribute.md)
- [lit/quoted-expressions](docs/rules/quoted-expressions.md)

We also automatically include the recommended rules of
[eslint-plugin-wc](https://github.com/43081j/eslint-plugin-wc).


## Shareable configurations

Expand All @@ -87,27 +90,6 @@ To enable this configuration use the `extends` property in your `.eslintrc` conf
}
```

## Usage with `eslint-plugin-wc`

We **highly** recommend you also depend on
[eslint-plugin-wc](https://github.com/43081j/eslint-plugin-wc) as it will
provide additional rules for web components in general:

```sh
npm i -D eslint-plugin-wc
```

Then extend the recommended eslint config:

```json
{
"extends": [
"plugin:wc/recommended",
"plugin:lit/recommended"
]
}
```

## License

MIT
Loading