Skip to content

Commit 777bf68

Browse files
committed
Fix CI build and ESLint configuration
- Add type declarations for @checkend/browser and @checkend/node - Move SDK packages to optional peer dependencies - Add ESLint flat config for ESLint 9 - Fix unused import in testing.ts
1 parent eb91507 commit 777bf68

8 files changed

Lines changed: 425 additions & 68 deletions

File tree

eslint.config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import js from '@eslint/js'
2+
import tseslint from 'typescript-eslint'
3+
4+
export default tseslint.config(
5+
js.configs.recommended,
6+
...tseslint.configs.recommended,
7+
{
8+
ignores: ['dist/**', 'node_modules/**'],
9+
},
10+
{
11+
files: ['**/*.ts', '**/*.tsx'],
12+
rules: {
13+
'@typescript-eslint/no-explicit-any': 'off',
14+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
15+
},
16+
}
17+
)

0 commit comments

Comments
 (0)