Skip to content

Commit

Permalink
move prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrick committed Sep 28, 2024
1 parent 51d0540 commit 8e2bc5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export default typescriptEslint.config(
...typescriptEslint.configs.stylisticTypeChecked,
unicornPlugin.configs['flat/recommended'],
perfectionist.configs['recommended-natural'],
configPrettier,
// base config
{
languageOptions: {
ecmaVersion: 2023,
globals: {
...globals.es2023,
...globals.node,
Expand Down Expand Up @@ -181,4 +181,6 @@ export default typescriptEslint.config(
'import/no-default-export': 'off',
},
},
// prettier has to be the last extension
configPrettier,
);

0 comments on commit 8e2bc5a

Please sign in to comment.