@@ -7,15 +7,13 @@ There are various core rule sets:
77- ` eslint-config-digitalbazaar/import ` : Rules for es6 imports in the browser and node code.
88- ` eslint-config-digitalbazaar/jsdoc ` : Rules for JSDoc for both node and browser code.
99- ` eslint-config-digitalbazaar/module ` : Rules for modules for both node and browser code.
10- - ` eslint-config-digitalbazaar/vue2 ` : Rules for Vue 2 code.
1110- ` eslint-config-digitalbazaar/vue3 ` : Rules for Vue 3 code.
1211
1312For common use cases, there are recommended configs, that load the core rules:
1413- ` eslint-config-digitalbazaar/browser-recommended ` : Recommended rules for projects targeting web browsers.
1514- ` eslint-config-digitalbazaar/node-recommended ` : Recommended rules for projects targeting node.
1615- ` eslint-config-digitalbazaar/recommended ` : Common recommended rules.
1716- ` 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.
1917- ` eslint-config-digitalbazaar/vue3-recommended ` : Recommended rules for projects targeting Vue 3.
2018
2119## Installation
@@ -119,27 +117,6 @@ export default [
119117];
120118```
121119
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-
143120### Vue 3
144121
145122To use the Vue 3 rules you will need to install [ ` eslint-plugin-vue ` ] ( https://eslint.vuejs.org/ ) :
0 commit comments