Skip to content

Commit aa0f1b6

Browse files
committed
[eslint] enable no-underscore-dangle
1 parent debb20e commit aa0f1b6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.eslintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"function-paren-newline": 0,
3131
"no-plusplus": 1,
3232
"no-param-reassign": 1,
33-
"no-underscore-dangle": 1,
3433
"no-mixed-operators": 1,
3534
"no-void": 1,
3635
"no-continue": 1,

lib/rules/prop-types.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module.exports = {
9191
declaredPropTypes && (
9292
// Check if this key is declared
9393
(declaredPropTypes[key] || // If not, check if this type accepts any key
94-
declaredPropTypes.__ANY_KEY__)
94+
declaredPropTypes.__ANY_KEY__) // eslint-disable-line no-underscore-dangle
9595
)
9696
);
9797

0 commit comments

Comments
 (0)