diff --git a/packages/eslint-config-airbnb-base/rules/style.js b/packages/eslint-config-airbnb-base/rules/style.js index ee5408f81c..d288bc5ad2 100644 --- a/packages/eslint-config-airbnb-base/rules/style.js +++ b/packages/eslint-config-airbnb-base/rules/style.js @@ -367,11 +367,12 @@ module.exports = { }], // disallow dangling underscores in identifiers + // https://eslint.org/docs/rules/no-underscore-dangle 'no-underscore-dangle': ['error', { allow: [], allowAfterThis: false, allowAfterSuper: false, - enforceInMethodNames: false, + enforceInMethodNames: true, }], // disallow the use of Boolean literals in conditional expressions