Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/nodelint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ jobs:
node-version: 24
- run: npm ci
- run: npm run ci-lint
run-typecheck-electron:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./electron
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
- run: npm ci
- run: npm run typecheck
5 changes: 3 additions & 2 deletions client/eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import tsParser from '@typescript-eslint/parser';
import tsPlugin from '@typescript-eslint/eslint-plugin';
import prettierConfig from 'eslint-config-prettier';
import prettierPlugin from 'eslint-plugin-prettier';
import tseslint from 'typescript-eslint';

const sharedRules = {
'prettier/prettier': 'error',
Expand All @@ -23,12 +24,12 @@ const sharedRules = {
};

const tsRules = {
...tsPlugin.configs.recommended.rules,
...Object.assign({}, ...tseslint.configs.recommended.map((c) => c.rules ?? {})),
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
// Vue 2 Options API patterns that are valid in this codebase
'@typescript-eslint/no-this-alias': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-unsafe-function-type': 'off', // Function prop types are idiomatic in Vue 2
};

const sharedGlobals = {
Expand Down
Loading
Loading