Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/config/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = {
// Prevent usage of unknown DOM property
'react/no-unknown-property': 'off',
// Prevent usage of UNSAFE_ methods
'react/no-unsafe': 'error',
'react/no-unsafe': ['error', {checkAliases: true}],
// Prevent definitions of unused prop types
'react/no-unused-prop-types': 'error',
// Attempts to discover all state fields in a React component and warn if any of them are never read.
Expand Down