@mikey-pro/eslint-config-vue 9.0.5 → 9.0.7
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/README.md +15 -35
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,46 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
<h1>
|
|
3
|
-
<a href="https://github.com/chiefmikey/mikey-pro">
|
|
4
|
-
<b>Mikey Pro</b>
|
|
5
|
-
</a>
|
|
6
|
-
</h1>
|
|
7
|
-
</div>
|
|
1
|
+
# @mikey-pro/eslint-config-vue
|
|
8
2
|
|
|
9
|
-
|
|
3
|
+
Vue-specific ESLint configuration extending the core Mikey Pro style guide.
|
|
10
4
|
|
|
11
|
-
|
|
5
|
+
## Installation
|
|
12
6
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Install
|
|
16
|
-
|
|
17
|
-
```shell
|
|
18
|
-
npm i -D mikey-pro @mikey-pro/eslint-config-vue
|
|
7
|
+
```bash
|
|
8
|
+
npm install @mikey-pro/eslint-config-vue
|
|
19
9
|
```
|
|
20
10
|
|
|
21
|
-
|
|
11
|
+
## Usage
|
|
22
12
|
|
|
23
|
-
```
|
|
13
|
+
```javascript
|
|
24
14
|
// eslint.config.js
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export default vueConfig;
|
|
15
|
+
export { default } from '@mikey-pro/eslint-config-vue';
|
|
28
16
|
```
|
|
29
17
|
|
|
30
|
-
|
|
18
|
+
## Features
|
|
31
19
|
|
|
32
|
-
|
|
20
|
+
- Vue composition API rules
|
|
21
|
+
- Template validation
|
|
22
|
+
- SFC (Single File Component) best practices
|
|
23
|
+
- Vue 3 compatibility
|
|
24
|
+
- Extends core Mikey Pro configuration
|
|
33
25
|
|
|
34
|
-
|
|
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
|
-
```
|
|
26
|
+
See [Mikey Pro](https://github.com/chiefmikey/mikey-pro) for full documentation.
|
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.7",
|
|
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": "
|
|
8
|
+
"@mikey-pro/eslint-config": "file:../eslint-config",
|
|
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": "
|
|
13
|
+
"@mikey-pro/eslint-config": "file:../eslint-config"
|
|
14
14
|
},
|
|
15
15
|
"peerDependenciesMeta": {
|
|
16
16
|
"@types/node": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
],
|
|
56
56
|
"author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
|
|
57
57
|
"engines": {
|
|
58
|
-
"node": ">=
|
|
58
|
+
"node": ">=20.0.0",
|
|
59
59
|
"npm": ">=9.0.0",
|
|
60
60
|
"pnpm": ">=8.0.0",
|
|
61
61
|
"yarn": ">=4.0.0"
|