@truenine/eslint9-config 1.0.12 → 1.0.13
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 +8 -8
- package/package.json +30 -31
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @truenine/eslint9-config
|
|
2
2
|
|
|
3
3
|
ESLint 9 configuration package for Compose Client projects with TypeScript, Vue, and modern JavaScript support.
|
|
4
4
|
|
|
@@ -16,13 +16,13 @@ ESLint 9 configuration package for Compose Client projects with TypeScript, Vue,
|
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
# Using pnpm (recommended)
|
|
19
|
-
pnpm add -D @
|
|
19
|
+
pnpm add -D @truenine/eslint9-config
|
|
20
20
|
|
|
21
21
|
# Using npm
|
|
22
|
-
npm install --save-dev @
|
|
22
|
+
npm install --save-dev @truenine/eslint9-config
|
|
23
23
|
|
|
24
24
|
# Using yarn
|
|
25
|
-
yarn add -D @
|
|
25
|
+
yarn add -D @truenine/eslint9-config
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## Usage
|
|
@@ -30,7 +30,7 @@ yarn add -D @compose/eslint9-config
|
|
|
30
30
|
Create an `eslint.config.mjs` file in your project root:
|
|
31
31
|
|
|
32
32
|
```javascript
|
|
33
|
-
import eslint9 from '@
|
|
33
|
+
import eslint9 from '@truenine/eslint9-config'
|
|
34
34
|
|
|
35
35
|
export default eslint9({
|
|
36
36
|
// Configuration options
|
|
@@ -65,7 +65,7 @@ export default eslint9({
|
|
|
65
65
|
#### Basic Library Configuration
|
|
66
66
|
|
|
67
67
|
```javascript
|
|
68
|
-
import eslint9 from '@
|
|
68
|
+
import eslint9 from '@truenine/eslint9-config'
|
|
69
69
|
|
|
70
70
|
export default eslint9({
|
|
71
71
|
type: 'lib',
|
|
@@ -77,7 +77,7 @@ export default eslint9({
|
|
|
77
77
|
#### Vue Application Configuration
|
|
78
78
|
|
|
79
79
|
```javascript
|
|
80
|
-
import eslint9 from '@
|
|
80
|
+
import eslint9 from '@truenine/eslint9-config'
|
|
81
81
|
|
|
82
82
|
export default eslint9({
|
|
83
83
|
type: 'app',
|
|
@@ -91,7 +91,7 @@ export default eslint9({
|
|
|
91
91
|
#### Strict TypeScript Configuration
|
|
92
92
|
|
|
93
93
|
```javascript
|
|
94
|
-
import eslint9 from '@
|
|
94
|
+
import eslint9 from '@truenine/eslint9-config'
|
|
95
95
|
|
|
96
96
|
export default eslint9({
|
|
97
97
|
typescript: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truenine/eslint9-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.13",
|
|
5
5
|
"description": "ESLint 9 configuration package for Compose Client projects with TypeScript, Vue, and modern JavaScript support",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "TrueNine",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"linting",
|
|
31
31
|
"code-quality",
|
|
32
32
|
"antfu",
|
|
33
|
-
"
|
|
33
|
+
"truenine"
|
|
34
34
|
],
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"exports": {
|
|
@@ -64,38 +64,37 @@
|
|
|
64
64
|
"access": "public",
|
|
65
65
|
"registry": "https://registry.npmjs.org/"
|
|
66
66
|
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@antfu/eslint-config": "^5.0.0",
|
|
69
|
+
"@eslint/js": "^9.32.0",
|
|
70
|
+
"@unocss/eslint-config": "^66.3.3",
|
|
71
|
+
"@vue/eslint-config-prettier": "^10.2.0",
|
|
72
|
+
"@vue/eslint-config-typescript": "^14.6.0",
|
|
73
|
+
"eslint": "^9.32.0",
|
|
74
|
+
"eslint-plugin-format": "^1.0.1",
|
|
75
|
+
"eslint-plugin-prettier": "^5.5.3",
|
|
76
|
+
"eslint-plugin-vue": "^10.3.0",
|
|
77
|
+
"prettier": "^3.6.2",
|
|
78
|
+
"typescript-eslint": "^8.38.0"
|
|
79
|
+
},
|
|
80
|
+
"dependencies": {
|
|
81
|
+
"@antfu/eslint-config": "^5.0.0",
|
|
82
|
+
"@eslint/js": "^9.32.0",
|
|
83
|
+
"@unocss/eslint-config": "^66.3.3",
|
|
84
|
+
"@vue/eslint-config-prettier": "^10.2.0",
|
|
85
|
+
"@vue/eslint-config-typescript": "^14.6.0",
|
|
86
|
+
"eslint": "^9.32.0",
|
|
87
|
+
"eslint-plugin-format": "^1.0.1",
|
|
88
|
+
"eslint-plugin-prettier": "^5.5.3",
|
|
89
|
+
"eslint-plugin-vue": "^10.3.0",
|
|
90
|
+
"prettier": "^3.6.2",
|
|
91
|
+
"typescript-eslint": "^8.38.0"
|
|
92
|
+
},
|
|
67
93
|
"scripts": {
|
|
68
94
|
"build": "vite build",
|
|
69
95
|
"build-c": "vite build",
|
|
70
96
|
"lint": "eslint --fix",
|
|
71
97
|
"type-check": "vue-tsc --noEmit",
|
|
72
|
-
"test": "vitest run"
|
|
73
|
-
"prepublishOnly": "run-s build"
|
|
74
|
-
},
|
|
75
|
-
"peerDependencies": {
|
|
76
|
-
"@antfu/eslint-config": "catalog:eslint",
|
|
77
|
-
"@eslint/js": "catalog:eslint",
|
|
78
|
-
"@unocss/eslint-config": "catalog:unocss",
|
|
79
|
-
"@vue/eslint-config-prettier": "catalog:eslint",
|
|
80
|
-
"@vue/eslint-config-typescript": "catalog:eslint",
|
|
81
|
-
"eslint": "catalog:eslint",
|
|
82
|
-
"eslint-plugin-format": "catalog:eslint",
|
|
83
|
-
"eslint-plugin-prettier": "catalog:eslint",
|
|
84
|
-
"eslint-plugin-vue": "catalog:eslint",
|
|
85
|
-
"prettier": "catalog:",
|
|
86
|
-
"typescript-eslint": "catalog:eslint"
|
|
87
|
-
},
|
|
88
|
-
"dependencies": {
|
|
89
|
-
"@antfu/eslint-config": "catalog:eslint",
|
|
90
|
-
"@eslint/js": "catalog:eslint",
|
|
91
|
-
"@unocss/eslint-config": "catalog:unocss",
|
|
92
|
-
"@vue/eslint-config-prettier": "catalog:eslint",
|
|
93
|
-
"@vue/eslint-config-typescript": "catalog:eslint",
|
|
94
|
-
"eslint": "catalog:eslint",
|
|
95
|
-
"eslint-plugin-format": "catalog:eslint",
|
|
96
|
-
"eslint-plugin-prettier": "catalog:eslint",
|
|
97
|
-
"eslint-plugin-vue": "catalog:eslint",
|
|
98
|
-
"prettier": "catalog:",
|
|
99
|
-
"typescript-eslint": "catalog:eslint"
|
|
98
|
+
"test": "vitest run"
|
|
100
99
|
}
|
|
101
|
-
}
|
|
100
|
+
}
|