@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.
Files changed (2) hide show
  1. package/README.md +15 -35
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,46 +1,26 @@
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>
1
+ # @mikey-pro/eslint-config-vue
8
2
 
9
- ## **@mikey-pro/eslint-config-vue**
3
+ Vue-specific ESLint configuration extending the core Mikey Pro style guide.
10
4
 
11
- A preset ESLint Vue configuration
5
+ ## Installation
12
6
 
13
- ## Usage
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
- ### Configure (Flat ESLint v9+ Default)
11
+ ## Usage
22
12
 
23
- ```js
13
+ ```javascript
24
14
  // eslint.config.js
25
- import vueConfig from '@mikey-pro/eslint-config-vue';
26
-
27
- export default vueConfig;
15
+ export { default } from '@mikey-pro/eslint-config-vue';
28
16
  ```
29
17
 
30
- ### Legacy (eslintrc) Configuration (still supported)
18
+ ## Features
31
19
 
32
- Legacy consumers should explicitly import the legacy entry:
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
- ```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
- ```
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.5",
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": "^9.0.1",
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": "^9.0.0"
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": ">=18.0.0",
58
+ "node": ">=20.0.0",
59
59
  "npm": ">=9.0.0",
60
60
  "pnpm": ">=8.0.0",
61
61
  "yarn": ">=4.0.0"