@@ -7,15 +7,13 @@ There are various core rule sets:
7
7
- ` eslint-config-digitalbazaar/import ` : Rules for es6 imports in the browser and node code.
8
8
- ` eslint-config-digitalbazaar/jsdoc ` : Rules for JSDoc for both node and browser code.
9
9
- ` eslint-config-digitalbazaar/module ` : Rules for modules for both node and browser code.
10
- - ` eslint-config-digitalbazaar/vue2 ` : Rules for Vue 2 code.
11
10
- ` eslint-config-digitalbazaar/vue3 ` : Rules for Vue 3 code.
12
11
13
12
For common use cases, there are recommended configs, that load the core rules:
14
13
- ` eslint-config-digitalbazaar/browser-recommended ` : Recommended rules for projects targeting web browsers.
15
14
- ` eslint-config-digitalbazaar/node-recommended ` : Recommended rules for projects targeting node.
16
15
- ` eslint-config-digitalbazaar/recommended ` : Common recommended rules.
17
16
- ` eslint-config-digitalbazaar/universal-recommended ` : Recommended rules for projects targeting node and web browsers.
18
- - ` eslint-config-digitalbazaar/vue2-recommended ` : Recommended rules for projects targeting Vue 2.
19
17
- ` eslint-config-digitalbazaar/vue3-recommended ` : Recommended rules for projects targeting Vue 3.
20
18
21
19
## Installation
@@ -119,27 +117,6 @@ export default [
119
117
];
120
118
```
121
119
122
- ### Vue 2
123
-
124
- To use the Vue 2 rules you will need to install [ ` eslint-plugin-vue ` ] ( https://eslint.vuejs.org/ ) :
125
- ```
126
- npm i -D eslint-plugin-vue
127
- ```
128
-
129
- Example ` eslint.config.js ` Vue setup:
130
- ``` js
131
- import config from ' eslint-config-digitalbazaar'
132
- import vue2Config from ' eslint-config-digitalbazaar/vue2'
133
-
134
- export default [
135
- ... config,
136
- ... vue2Config
137
- ];
138
- ```
139
-
140
- For command line use you may need to [ explicitly enable linting ` .vue `
141
- files] ( https://eslint.vuejs.org/user-guide/#running-eslint-from-the-command-line ) .
142
-
143
120
### Vue 3
144
121
145
122
To use the Vue 3 rules you will need to install [ ` eslint-plugin-vue ` ] ( https://eslint.vuejs.org/ ) :
0 commit comments