Add TypeScript SDK scaffolding with CI and linting
This commit is contained in:
parent
ee8b6b4bc3
commit
7f3184b07b
1 changed files with 4229 additions and 0 deletions
19
sdk/typescript/eslint.config.mjs
Normal file
19
sdk/typescript/eslint.config.mjs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// @ts-check
|
||||
|
||||
import eslint from '@eslint/js';
|
||||
import tseslint from 'typescript-eslint';
|
||||
import eslintConfigPrettier from 'eslint-config-prettier/flat';
|
||||
|
||||
export default tseslint.config(
|
||||
eslint.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
linterOptions: {
|
||||
reportUnusedDisableDirectives: false
|
||||
},
|
||||
rules: {
|
||||
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }]
|
||||
}
|
||||
},
|
||||
eslintConfigPrettier
|
||||
);
|
||||
Loading…
Reference in a new issue