@eset-gdd/code-styleguide-eslint-vue3 1.1.3 → 1.1.5
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/configs/rules.js +1 -1
- package/index.js +2 -2
- package/package.json +44 -44
- package/typescript.js +3 -4
package/configs/rules.js
CHANGED
package/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint-disable import-x/extensions */
|
|
2
2
|
import pluginVue from "eslint-plugin-vue";
|
|
3
3
|
import globals from "globals";
|
|
4
|
-
import { vueRules } from "./configs/rules.js";
|
|
4
|
+
import { rules as vueRules } from "./configs/rules.js";
|
|
5
5
|
|
|
6
|
-
export const rules =
|
|
6
|
+
export const rules = { ...vueRules };
|
|
7
7
|
|
|
8
8
|
export default [
|
|
9
9
|
...pluginVue.configs["flat/recommended"],
|
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
2
|
+
"name": "@eset-gdd/code-styleguide-eslint-vue3",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.1.5",
|
|
5
|
+
"description": "Vue 3 ESLint configuration for ESET's Frontend Coding Styleguide",
|
|
6
|
+
"author": "ESET GWD Team",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"homepage": "https://github.com/esetweb/code-styleguide#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/esetweb/code-styleguide.git",
|
|
12
|
+
"directory": "packages/eslint-vue3"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/esetweb/code-styleguide/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"eslint",
|
|
19
|
+
"eslint-config",
|
|
20
|
+
"vue",
|
|
21
|
+
"vue3",
|
|
22
|
+
"code-style"
|
|
23
|
+
],
|
|
24
|
+
"exports": {
|
|
25
|
+
".": "./index.js",
|
|
26
|
+
"./index.js": "./index.js",
|
|
27
|
+
"./typescript": "./typescript.js"
|
|
28
|
+
},
|
|
29
|
+
"main": "index.js",
|
|
30
|
+
"files": [
|
|
31
|
+
"README.md",
|
|
32
|
+
"configs",
|
|
33
|
+
"index.js",
|
|
34
|
+
"typescript.js"
|
|
35
|
+
],
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"eslint": "^9.37.0",
|
|
38
|
+
"vue": ">=3.0.0"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@eset-gdd/code-styleguide-eslint-base-typescript": "^1.1.5",
|
|
42
|
+
"eslint-plugin-vue": "^9.31.0",
|
|
43
|
+
"globals": "^16.4.0",
|
|
44
|
+
"typescript-eslint": "^8.18.2"
|
|
45
|
+
}
|
|
46
46
|
}
|
package/typescript.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import pluginVue from "eslint-plugin-vue";
|
|
3
3
|
import globals from "globals";
|
|
4
4
|
import tseslint from "typescript-eslint";
|
|
5
|
-
import { vueRules } from "./configs/rules.js";
|
|
6
|
-
import {
|
|
5
|
+
import { rules as vueRules } from "./configs/rules.js";
|
|
6
|
+
import { rules as tsFlatConfig } from "@eset-gdd/code-styleguide-eslint-base-typescript";
|
|
7
7
|
|
|
8
|
-
export const rules =
|
|
8
|
+
export const rules = { ...vueRules, ...tsFlatConfig };
|
|
9
9
|
|
|
10
10
|
export default [
|
|
11
11
|
...pluginVue.configs["flat/recommended"],
|
|
@@ -17,7 +17,6 @@ export default [
|
|
|
17
17
|
projectService: true,
|
|
18
18
|
extraFileExtensions: [".vue"],
|
|
19
19
|
sourceType: "module",
|
|
20
|
-
ecmaFeatures: { jsx: true },
|
|
21
20
|
},
|
|
22
21
|
globals: {
|
|
23
22
|
...globals.browser,
|