@planfredapp/eslint-config 1.0.12 → 1.0.15
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 +28 -10
- package/package.json +19 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Extends the base configuration with testing framework rules:
|
|
|
45
45
|
|
|
46
46
|
```javascript
|
|
47
47
|
// For base configuration
|
|
48
|
-
import baseConfig from '@
|
|
48
|
+
import baseConfig from '@planfredapp/eslint-config/base'
|
|
49
49
|
|
|
50
50
|
export default [
|
|
51
51
|
...baseConfig,
|
|
@@ -53,7 +53,7 @@ export default [
|
|
|
53
53
|
]
|
|
54
54
|
|
|
55
55
|
// For Vue projects
|
|
56
|
-
import vueConfig from '@
|
|
56
|
+
import vueConfig from '@planfredapp/eslint-config/vue'
|
|
57
57
|
|
|
58
58
|
export default [
|
|
59
59
|
...vueConfig,
|
|
@@ -61,7 +61,7 @@ export default [
|
|
|
61
61
|
]
|
|
62
62
|
|
|
63
63
|
// For Cypress tests
|
|
64
|
-
import cypressConfig from '@
|
|
64
|
+
import cypressConfig from '@planfredapp/eslint-config/cypress'
|
|
65
65
|
|
|
66
66
|
export default [
|
|
67
67
|
...cypressConfig,
|
|
@@ -69,7 +69,7 @@ export default [
|
|
|
69
69
|
]
|
|
70
70
|
|
|
71
71
|
// For test files
|
|
72
|
-
import testConfig from '@
|
|
72
|
+
import testConfig from '@planfredapp/eslint-config/test'
|
|
73
73
|
|
|
74
74
|
export default [
|
|
75
75
|
...testConfig,
|
|
@@ -79,22 +79,40 @@ export default [
|
|
|
79
79
|
|
|
80
80
|
### Package.json Dependencies
|
|
81
81
|
|
|
82
|
-
Add the shared config as a dependency in your package.json
|
|
82
|
+
Add the shared config as a dependency in your package.json:
|
|
83
83
|
|
|
84
84
|
```json
|
|
85
85
|
{
|
|
86
|
-
"
|
|
87
|
-
"@
|
|
86
|
+
"devDependencies": {
|
|
87
|
+
"@planfredapp/eslint-config": "^1.0.12"
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
Or install directly with npm:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
npm install --save-dev @planfredapp/eslint-config
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Available Versions
|
|
99
|
+
|
|
100
|
+
You can install specific versions:
|
|
101
|
+
|
|
102
|
+
```json
|
|
103
|
+
{
|
|
104
|
+
"devDependencies": {
|
|
105
|
+
"@planfredapp/eslint-config": "1.0.12"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Or use the latest version:
|
|
93
111
|
|
|
94
112
|
```json
|
|
95
113
|
{
|
|
96
|
-
"
|
|
97
|
-
"@
|
|
114
|
+
"devDependencies": {
|
|
115
|
+
"@planfredapp/eslint-config": "latest"
|
|
98
116
|
}
|
|
99
117
|
}
|
|
100
118
|
```
|
package/package.json
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planfredapp/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Shared ESLint configurations for Planfred monorepo",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"eslint",
|
|
7
|
+
"eslint-config",
|
|
8
|
+
"planfred",
|
|
9
|
+
"javascript",
|
|
10
|
+
"vue",
|
|
11
|
+
"cypress",
|
|
12
|
+
"testing"
|
|
13
|
+
],
|
|
5
14
|
"license": "MIT",
|
|
6
15
|
"type": "module",
|
|
16
|
+
"author": "Planfred",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/planmanager/planfred-eslint-config.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/planmanager/planfred-eslint-config/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/planmanager/planfred-eslint-config#readme",
|
|
7
25
|
"exports": {
|
|
8
26
|
".": "./base.js",
|
|
9
27
|
"./base": "./base.js",
|