Skip to content

Commit

Permalink
[eslint] enable no-underscore-dangle
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 19, 2019
1 parent debb20e commit aa0f1b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"function-paren-newline": 0,
"no-plusplus": 1,
"no-param-reassign": 1,
"no-underscore-dangle": 1,
"no-mixed-operators": 1,
"no-void": 1,
"no-continue": 1,
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/prop-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module.exports = {
declaredPropTypes && (
// Check if this key is declared
(declaredPropTypes[key] || // If not, check if this type accepts any key
declaredPropTypes.__ANY_KEY__)
declaredPropTypes.__ANY_KEY__) // eslint-disable-line no-underscore-dangle
)
);

Expand Down

0 comments on commit aa0f1b6

Please sign in to comment.