@mikey-pro/eslint-config-vue 9.0.5 → 9.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/README.md +0 -46
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config-vue",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.6",
|
|
4
4
|
"description": "Mikey Pro ESLint Vue configuration - Ultimate Vue coding style guide",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mikey-pro/eslint-config": "^9.0.
|
|
8
|
+
"@mikey-pro/eslint-config": "^9.0.6",
|
|
9
9
|
"eslint-plugin-vue": "^10.4.0",
|
|
10
10
|
"vue-eslint-parser": "^10.2.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@mikey-pro/eslint-config": "^9.0.
|
|
13
|
+
"@mikey-pro/eslint-config": "^9.0.6"
|
|
14
14
|
},
|
|
15
15
|
"peerDependenciesMeta": {
|
|
16
16
|
"@types/node": {
|
package/README.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<div width="100%" align="center">
|
|
2
|
-
<h1>
|
|
3
|
-
<a href="https://github.com/chiefmikey/mikey-pro">
|
|
4
|
-
<b>Mikey Pro</b>
|
|
5
|
-
</a>
|
|
6
|
-
</h1>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
## **@mikey-pro/eslint-config-vue**
|
|
10
|
-
|
|
11
|
-
A preset ESLint Vue configuration
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
### Install
|
|
16
|
-
|
|
17
|
-
```shell
|
|
18
|
-
npm i -D mikey-pro @mikey-pro/eslint-config-vue
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### Configure (Flat ESLint v9+ Default)
|
|
22
|
-
|
|
23
|
-
```js
|
|
24
|
-
// eslint.config.js
|
|
25
|
-
import vueConfig from '@mikey-pro/eslint-config-vue';
|
|
26
|
-
|
|
27
|
-
export default vueConfig;
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Legacy (eslintrc) Configuration (still supported)
|
|
31
|
-
|
|
32
|
-
Legacy consumers should explicitly import the legacy entry:
|
|
33
|
-
|
|
34
|
-
```json
|
|
35
|
-
{
|
|
36
|
-
"eslintConfig": {
|
|
37
|
-
"extends": ["@mikey-pro/eslint-config-vue/legacy"]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Or via direct require:
|
|
43
|
-
|
|
44
|
-
```js
|
|
45
|
-
module.exports = require('@mikey-pro/eslint-config-vue/legacy');
|
|
46
|
-
```
|