Merge branch 'main' into feat/translate-to-english
All checks were successful
Lint / lint (pull_request) Successful in 5m58s

This commit is contained in:
2026-03-25 08:25:23 +00:00
3 changed files with 32 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
name: Lint
on:
pull_request:
branches:
- '**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint

View File

@@ -21,7 +21,10 @@ module.exports = tseslint.config(
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { 'argsIgnorePattern': '^_', 'varsIgnorePattern': '^_', 'caughtErrorsIgnorePattern': '^_' }]
'@typescript-eslint/no-unused-vars': [
'warn',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }
]
}
},
{

View File

@@ -27,7 +27,9 @@ export function findEnvironmentFile(dir: string, maxDepth = 8, currentDepth = 0)
if (found) return found;
}
}
} catch {}
} catch {
//bypass errors
}
return null;
}