Skip to content

Commit 1b8e5c6

Browse files
authored
Add vue3 configs (#5)
1 parent de4ed25 commit 1b8e5c6

File tree

8 files changed

+1849
-1398
lines changed

8 files changed

+1849
-1398
lines changed

README.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,35 @@ module.exports = {
4040

4141
## :wrench: Preset Configs
4242

43+
### `vue-preset/vue/vue3-recommended-e`
44+
45+
It is ruleset that changed the setting of rules provided by [`"plugin:vue/vue3-recommended"`](https://eslint.vuejs.org/rules/#priority-c-recommended-minimizing-arbitrary-choices-and-cognitive-overhead-for-vue-js-3-x) to `"error"`.
46+
47+
```diff
48+
{
49+
"extends": [
50+
"plugin:vue/base",
51+
+ "vue-preset/vue/vue3-recommended-e"
52+
]
53+
}
54+
```
55+
56+
### `vue-preset/vue/vue3-strongly-recommended-e`
57+
58+
It is ruleset that changed the setting of rules provided by [`"plugin:vue/vue3-strongly-recommended"`](https://eslint.vuejs.org/rules/#priority-b-strongly-recommended-improving-readability-for-vue-js-3-x) to `"error"`.
59+
60+
```diff
61+
{
62+
"extends": [
63+
"plugin:vue/base",
64+
+ "vue-preset/vue/vue3-strongly-recommended-e"
65+
]
66+
}
67+
```
68+
4369
### `vue-preset/vue/recommended-e`
4470

45-
It is ruleset that changed the setting of rules provided by [`"plugin:vue/recommended"`](https://eslint.vuejs.org/rules/#priority-c-recommended-minimizing-arbitrary-choices-and-cognitive-overhead) to `"error"`.
71+
It is ruleset that changed the setting of rules provided by [`"plugin:vue/recommended"`](https://eslint.vuejs.org/rules/#priority-c-recommended-minimizing-arbitrary-choices-and-cognitive-overhead-for-vue-js-2-x) to `"error"`.
4672

4773
```diff
4874
{
@@ -55,7 +81,7 @@ It is ruleset that changed the setting of rules provided by [`"plugin:vue/recomm
5581

5682
### `vue-preset/vue/strongly-recommended-e`
5783

58-
It is ruleset that changed the setting of rules provided by [`"plugin:vue/strongly-recommended"`](https://eslint.vuejs.org/rules/#priority-b-strongly-recommended-improving-readability) to `"error"`.
84+
It is ruleset that changed the setting of rules provided by [`"plugin:vue/strongly-recommended"`](https://eslint.vuejs.org/rules/#priority-b-strongly-recommended-improving-readability-for-vue-js-2-x) to `"error"`.
5985

6086
```diff
6187
{

0 commit comments

Comments
 (0)