Skip to content

Commit 3dcc591

Browse files
committed
[eslint config] [base] add id-denylist rule
1 parent c5bee75 commit 3dcc591

File tree

1 file changed

+5
-0
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+5
-0
lines changed

packages/eslint-config-airbnb-base/rules/style.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,13 @@ module.exports = {
107107

108108
// Blacklist certain identifiers to prevent them being used
109109
// https://eslint.org/docs/rules/id-blacklist
110+
// TODO: semver-major, remove once eslint v7.4+ is required
110111
'id-blacklist': 'off',
111112

113+
// disallow specified identifiers
114+
// https://eslint.org/docs/rules/id-denylist
115+
'id-denylist': 'off',
116+
112117
// this option enforces minimum and maximum identifier lengths
113118
// (variable names, property names etc.)
114119
'id-length': 'off',

0 commit comments

Comments
 (0)