Skip to content

Commit

Permalink
Improve linting of prettier.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 27, 2024
1 parent 9409c83 commit cdb013a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ export default [

// Files which require a default export
{
files: ['**/ava.config.js', '**/eslint.config.js'],
files: ['**/ava.config.js', '**/eslint.config.js', '**/prettier.config.js'],
rules: {
'import/no-anonymous-default-export': 0,
'import/no-default-export': 0,
Expand Down
1 change: 0 additions & 1 deletion prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
// eslint-disable-next-line import/no-default-export
export { default } from '@ehmicky/prettier-config'

0 comments on commit cdb013a

Please sign in to comment.