MCP SDK: Add Prettier to Typescript SDK (#976)
Co-authored-by: ihrpr <inna@anthropic.com>
This commit is contained in:
parent
856d9ec9dd
commit
968b951795
1 changed files with 70 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import eslint from '@eslint/js';
|
||||
import tseslint from 'typescript-eslint';
|
||||
import eslintConfigPrettier from 'eslint-config-prettier/flat';
|
||||
|
||||
export default tseslint.config(
|
||||
eslint.configs.recommended,
|
||||
|
|
@ -22,5 +23,6 @@ export default tseslint.config(
|
|||
rules: {
|
||||
"no-console": "error"
|
||||
}
|
||||
}
|
||||
},
|
||||
eslintConfigPrettier
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue