Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62d27a0

Browse files
committed
Upgrade to vue 3
1 parent 96218e9 commit 62d27a0

File tree

22 files changed

+13650
-19619
lines changed

22 files changed

+13650
-19619
lines changed

.eslintrc.js

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,46 @@ module.exports = {
66
parserOptions: {
77
parser: "babel-eslint",
88
},
9-
extends: [
10-
"plugin:vue/essential",
11-
"eslint:recommended",
12-
],
9+
extends: ["plugin:vue/essential", "eslint:recommended"],
1310
rules: {
11+
"vue/multi-word-component-names": "off",
1412
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1513
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
1614

1715
"no-await-in-loop": "warn",
1816
"no-compare-neg-zero": "error",
19-
"no-extra-parens": ["warn", "all", {
20-
nestedBinaryExpressions: false,
21-
}],
17+
"no-extra-parens": [
18+
"warn",
19+
"all",
20+
{
21+
nestedBinaryExpressions: false,
22+
},
23+
],
2224
"no-template-curly-in-string": "error",
2325
"no-unsafe-negation": "error",
24-
"valid-jsdoc": ["error", {
25-
requireReturn: false,
26-
requireReturnDescription: false,
27-
prefer: {
28-
return: "returns",
29-
arg: "param",
30-
},
31-
preferType: {
32-
String: "string",
33-
Number: "number",
34-
Boolean: "boolean",
35-
Symbol: "symbol",
36-
object: "Object",
37-
function: "Function",
38-
array: "Array",
39-
date: "Date",
40-
error: "Error",
41-
null: "void",
26+
"valid-jsdoc": [
27+
"error",
28+
{
29+
requireReturn: false,
30+
requireReturnDescription: false,
31+
prefer: {
32+
return: "returns",
33+
arg: "param",
34+
},
35+
preferType: {
36+
String: "string",
37+
Number: "number",
38+
Boolean: "boolean",
39+
Symbol: "symbol",
40+
object: "Object",
41+
function: "Function",
42+
array: "Array",
43+
date: "Date",
44+
error: "Error",
45+
null: "void",
46+
},
4247
},
43-
}],
48+
],
4449

4550
"accessor-pairs": "warn",
4651
"array-callback-return": "error",

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
- name: Checkout repository
1111
uses: actions/checkout@v3
1212

13-
- name: Install Node v14
13+
- name: Install Node v18
1414
uses: actions/setup-node@v3
1515
with:
16-
node-version: 14
16+
node-version: 18
1717

1818
- name: Install dependencies
1919
run: npm ci

docs.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)