Skip to content

Commit

Permalink
fix(eslint-config): disable require-default-props for TS
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumewuip committed Oct 15, 2020
1 parent 651d3dc commit 36fe751
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Fix typescript parser version
- Fix no-shadow and no-redeclare rules for TS
- Disable require-default-props for TS

## [2.1.0]

Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config/light-typescript-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ module.exports = {
},
rules: {
'react/jsx-filename-extension': ['error', { extensions: ['.js', '.tsx'] }],
'react/require-default-props': 'off',
},
};

0 comments on commit 36fe751

Please sign in to comment.