@lionstone-digital/eslint-config-vue 0.0.7 → 0.0.9
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/package.json +6 -6
- package/src/index.js +7 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lionstone-digital/eslint-config-vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Helpful eslint config for projects with Vue",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"eslint-plugin-vue": "^10.4.0",
|
|
28
28
|
"eslint-plugin-vuejs-accessibility": "^2.4.1",
|
|
29
29
|
"vue-eslint-parser": "^10.2.0",
|
|
30
|
-
"@lionstone-digital/eslint-config": "0.0.
|
|
31
|
-
"@lionstone-digital/eslint-config-typescript": "0.0.
|
|
30
|
+
"@lionstone-digital/eslint-config": "0.0.8",
|
|
31
|
+
"@lionstone-digital/eslint-config-typescript": "0.0.9"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"eslint": ">= 9.
|
|
35
|
-
"prettier": ">= 3.6.
|
|
36
|
-
"vue": ">= 3.5.
|
|
34
|
+
"eslint": ">= 9.35.0",
|
|
35
|
+
"prettier": ">= 3.6.2",
|
|
36
|
+
"vue": ">= 3.5.21"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
package/src/index.js
CHANGED
|
@@ -2,14 +2,15 @@ import eslintConfigTypescript from '@lionstone-digital/eslint-config-typescript'
|
|
|
2
2
|
import eslintConfigBasePrettier from '@lionstone-digital/eslint-config/prettier'
|
|
3
3
|
import eslintVue from 'eslint-plugin-vue'
|
|
4
4
|
import eslintVueA11y from 'eslint-plugin-vuejs-accessibility'
|
|
5
|
+
import { defineConfig } from 'eslint/config'
|
|
5
6
|
|
|
6
|
-
export default
|
|
7
|
+
export default defineConfig(
|
|
7
8
|
// Core
|
|
8
|
-
|
|
9
|
+
eslintConfigTypescript,
|
|
9
10
|
|
|
10
11
|
// For Vue
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
eslintVue.configs['flat/recommended'],
|
|
13
|
+
eslintVueA11y.configs['flat/recommended'],
|
|
13
14
|
{
|
|
14
15
|
rules: {
|
|
15
16
|
'vue/block-order': [
|
|
@@ -22,5 +23,5 @@ export default [
|
|
|
22
23
|
},
|
|
23
24
|
|
|
24
25
|
// Base Prettier
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
eslintConfigBasePrettier
|
|
27
|
+
)
|