Skip to content

Commit

Permalink
fix: fix allowed file extensions to contain jsx (#21)
Browse files Browse the repository at this point in the history
* fix: fix allowed jsx extensions

Signed-off-by: onatolich <[email protected]>

* Upd

Signed-off-by: onatolich <[email protected]>
  • Loading branch information
Onatolich authored Jul 22, 2020
1 parent d7f85cb commit c9ae047
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/lint/.eslintrc.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = {
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/no-empty-function': ['error', { allow: ['arrowFunctions'] }],
'react/jsx-filename-extension': ['error', { extensions: ['.tsx'] }],
'react/jsx-props-no-spreading': 'off',
'react/prop-types': 'off',
'import/extensions': ['error', { js: 'never', jsx: 'never', ts: 'never', tsx: 'never' }],
Expand Down

0 comments on commit c9ae047

Please sign in to comment.