chore: add eslint-config-prettier to ESLint configuration for improved formatting compatibility

This commit is contained in:
Juan Sebastián Montoya 2026-01-07 01:25:53 -05:00
parent b32ac22be8
commit 62e58f77ae
3 changed files with 20 additions and 3 deletions

View file

@ -1,10 +1,12 @@
import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
import prettier from 'eslint-config-prettier';
export default [
js.configs.recommended,
...tseslint.configs.recommended,
prettier,
{
languageOptions: {
ecmaVersion: 2022,
@ -27,7 +29,6 @@ export default [
],
'@typescript-eslint/no-explicit-any': 'warn',
'no-console': 'off',
indent: ['error', 2],
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-non-null-assertion': 'warn',
},