@kouts/eslint-config 0.0.1 → 0.0.2
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 +5 -5
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -12,16 +12,16 @@ npm i -D @kouts/eslint-config
|
|
|
12
12
|
|
|
13
13
|
There are 4 ESLint config presets that you can use:
|
|
14
14
|
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
15
|
+
- `@kouts/eslint-config/javascript` for JavaScript / TypeScript projects
|
|
16
|
+
- `@kouts/eslint-config/vue2` for Vue.js 2 projects
|
|
17
|
+
- `@kouts/eslint-config/vue3` for Vue.js 3 projects
|
|
18
|
+
- `@kouts/eslint-config/vue3-typescript` for Vue.js 3 / TypeScript projects
|
|
19
19
|
|
|
20
20
|
Add the desired config preset into your `.eslintrc.js` file:
|
|
21
21
|
|
|
22
22
|
```javascript
|
|
23
23
|
module.exports = {
|
|
24
|
-
extends: ['
|
|
24
|
+
extends: ['@kouts/eslint-config/vue2']
|
|
25
25
|
}
|
|
26
26
|
```
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kouts/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Kouts's ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -40,25 +40,25 @@
|
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://github.com/kouts/eslint-config#readme",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@typescript-eslint/parser": "^5.
|
|
44
|
-
"@vue/eslint-config-typescript": "^11.0.
|
|
43
|
+
"@typescript-eslint/parser": "^5.38.0",
|
|
44
|
+
"@vue/eslint-config-typescript": "^11.0.2",
|
|
45
45
|
"eslint-config-prettier": "^8.5.0",
|
|
46
46
|
"eslint-config-standard": "^17.0.0",
|
|
47
47
|
"eslint-plugin-html": "^7.1.0",
|
|
48
48
|
"eslint-plugin-import": "^2.26.0",
|
|
49
|
-
"eslint-plugin-n": "^15.
|
|
49
|
+
"eslint-plugin-n": "^15.3.0",
|
|
50
50
|
"eslint-plugin-prettier": "^4.2.1",
|
|
51
|
-
"eslint-plugin-promise": "^6.0.
|
|
51
|
+
"eslint-plugin-promise": "^6.0.1",
|
|
52
52
|
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
|
53
|
-
"eslint-plugin-vue": "^9.
|
|
53
|
+
"eslint-plugin-vue": "^9.5.1",
|
|
54
54
|
"prettier": "^2.7.1",
|
|
55
|
-
"typescript": "^4.
|
|
56
|
-
"vue-eslint-parser": "^9.0
|
|
55
|
+
"typescript": "^4.8.3",
|
|
56
|
+
"vue-eslint-parser": "^9.1.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"eslint": "^8.
|
|
59
|
+
"eslint": "^8.24.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"eslint": "^8.
|
|
62
|
+
"eslint": "^8.24.0"
|
|
63
63
|
}
|
|
64
64
|
}
|