Skip to content

Commit

Permalink
Merge pull request #178 from Disfactory/chore/update-packages
Browse files Browse the repository at this point in the history
chore: upgrade packages
  • Loading branch information
Yukaii authored Nov 13, 2024
2 parents af23eb3 + 2db0c8a commit df62cd9
Show file tree
Hide file tree
Showing 17 changed files with 26,743 additions and 23,899 deletions.
15 changes: 14 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
'@vue/standard',
'@vue/typescript/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:testing-library/recommended',
'plugin:testing-library/vue',
'plugin:jest-dom/recommended'
],
Expand All @@ -22,14 +21,28 @@ module.exports = {
'semi': 'off',
'@typescript-eslint/semi': ['error', 'never'],
'no-unused-expressions': 'off',
'no-use-before-define': 'warn',
'@typescript-eslint/no-unused-expressions': 'error',
'@typescript-eslint/member-delimiter-style': ['error', { multiline: { delimiter: 'comma', requireLast: false }, singleline: { delimiter: 'comma', requireLast: false }, overrides: { interface: { multiline: { delimiter: 'none' } } } }],
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-unsafe-argument': 'warn',
'@typescript-eslint/no-unsafe-assignment': 'warn',
'@typescript-eslint/no-unsafe-call': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unsafe-return': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/require-await': 'off', // TODO: can remove on 11/25
'@typescript-eslint/ban-types': 'warn',
'@typescript-eslint/no-floating-promises': 'warn',
'vue/return-in-computed-property': 'warn',
'@typescript-eslint/no-misused-promises': 'warn',
'@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
},
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
sourceType: 'module',
extraFileExtensions: ['.vue']
},
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16.x
- name: Run lint
run: |
npm ci
Expand All @@ -29,10 +29,10 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16.x
- name: Run typecheck
run: |
npm ci
Expand All @@ -42,10 +42,10 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16.x
- name: Run unit test
run: |
npm ci
Expand All @@ -58,10 +58,10 @@ jobs:
VUE_APP_PROTOMAP_API_KEY: e6cfbd46818cf623
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16.x
- name: Install and Build
run: |
npm ci
Expand All @@ -83,10 +83,10 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]') && github.event_name == 'push' && github.ref == 'refs/heads/production'"
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 10.x
node-version: 16.x
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
Expand Down
File renamed without changes
Loading

0 comments on commit df62cd9

Please sign in to comment.