Skip to content

Commit

Permalink
update mdx rules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrskr committed Oct 3, 2023
1 parent eee6e78 commit 7cb5584
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ module.exports = {
settings: {
'mdx/code-blocks': true,
},
rules: {
'react/jsx-filename-extension': ['error', { extensions: ['.tsx', '.mdx'] }],
},
},
{
files: ['*.json', '*.json5', '*.jsonc'],
Expand Down

0 comments on commit 7cb5584

Please sign in to comment.