Skip to content

Commit df62cd9

Browse files
authoredNov 13, 2024··
Merge pull request #178 from Disfactory/chore/update-packages
chore: upgrade packages
2 parents af23eb3 + 2db0c8a commit df62cd9

17 files changed

+26743
-23899
lines changed
 

‎.eslintrc.js

+14-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ module.exports = {
99
'@vue/standard',
1010
'@vue/typescript/recommended',
1111
'plugin:@typescript-eslint/recommended-requiring-type-checking',
12-
'plugin:testing-library/recommended',
1312
'plugin:testing-library/vue',
1413
'plugin:jest-dom/recommended'
1514
],
@@ -22,14 +21,28 @@ module.exports = {
2221
'semi': 'off',
2322
'@typescript-eslint/semi': ['error', 'never'],
2423
'no-unused-expressions': 'off',
24+
'no-use-before-define': 'warn',
2525
'@typescript-eslint/no-unused-expressions': 'error',
2626
'@typescript-eslint/member-delimiter-style': ['error', { multiline: { delimiter: 'comma', requireLast: false }, singleline: { delimiter: 'comma', requireLast: false }, overrides: { interface: { multiline: { delimiter: 'none' } } } }],
27+
'@typescript-eslint/no-explicit-any': 'warn',
28+
'@typescript-eslint/no-unsafe-argument': 'warn',
29+
'@typescript-eslint/no-unsafe-assignment': 'warn',
30+
'@typescript-eslint/no-unsafe-call': 'warn',
31+
'@typescript-eslint/no-unsafe-member-access': 'warn',
32+
'@typescript-eslint/no-unsafe-return': 'warn',
33+
'@typescript-eslint/no-unused-vars': 'warn',
2734
'@typescript-eslint/require-await': 'off', // TODO: can remove on 11/25
35+
'@typescript-eslint/ban-types': 'warn',
36+
'@typescript-eslint/no-floating-promises': 'warn',
37+
'vue/return-in-computed-property': 'warn',
38+
'@typescript-eslint/no-misused-promises': 'warn',
39+
'@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
2840
},
2941
parser: 'vue-eslint-parser',
3042
parserOptions: {
3143
parser: '@typescript-eslint/parser',
3244
project: 'tsconfig.json',
45+
tsconfigRootDir: __dirname,
3346
sourceType: 'module',
3447
extraFileExtensions: ['.vue']
3548
},

‎.github/workflows/ci.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
if: "!contains(github.event.head_commit.message, '[skip ci]')"
1717
steps:
1818
- uses: actions/checkout@v1
19-
- name: Use Node.js 10.x
19+
- name: Use Node.js 16.x
2020
uses: actions/setup-node@v1
2121
with:
22-
node-version: 10.x
22+
node-version: 16.x
2323
- name: Run lint
2424
run: |
2525
npm ci
@@ -29,10 +29,10 @@ jobs:
2929
if: "!contains(github.event.head_commit.message, '[skip ci]')"
3030
steps:
3131
- uses: actions/checkout@v1
32-
- name: Use Node.js 10.x
32+
- name: Use Node.js 16.x
3333
uses: actions/setup-node@v1
3434
with:
35-
node-version: 10.x
35+
node-version: 16.x
3636
- name: Run typecheck
3737
run: |
3838
npm ci
@@ -42,10 +42,10 @@ jobs:
4242
if: "!contains(github.event.head_commit.message, '[skip ci]')"
4343
steps:
4444
- uses: actions/checkout@v1
45-
- name: Use Node.js 10.x
45+
- name: Use Node.js 16.x
4646
uses: actions/setup-node@v1
4747
with:
48-
node-version: 10.x
48+
node-version: 16.x
4949
- name: Run unit test
5050
run: |
5151
npm ci
@@ -58,10 +58,10 @@ jobs:
5858
VUE_APP_PROTOMAP_API_KEY: e6cfbd46818cf623
5959
steps:
6060
- uses: actions/checkout@v1
61-
- name: Use Node.js 10.x
61+
- name: Use Node.js 16.x
6262
uses: actions/setup-node@v1
6363
with:
64-
node-version: 10.x
64+
node-version: 16.x
6565
- name: Install and Build
6666
run: |
6767
npm ci
@@ -83,10 +83,10 @@ jobs:
8383
if: "!contains(github.event.head_commit.message, '[skip ci]') && github.event_name == 'push' && github.ref == 'refs/heads/production'"
8484
steps:
8585
- uses: actions/checkout@v1
86-
- name: Use Node.js 10.x
86+
- name: Use Node.js 16.x
8787
uses: actions/setup-node@v1
8888
with:
89-
node-version: 10.x
89+
node-version: 16.x
9090
- name: Install SSH key
9191
uses: shimataro/ssh-key-action@v2
9292
with:
File renamed without changes.

0 commit comments

Comments
 (0)