Skip to content

Commit 1f786e1

Browse files
drdogbot7ljharb
authored andcommitted
[eslint config] [base] [patch] fix spelling of "than"
you mean "than" not "then".
1 parent 5620bd5 commit 1f786e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/eslint-config-airbnb-base/rules/best-practices.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ module.exports = {
147147
// disallow usage of __iterator__ property
148148
'no-iterator': 'error',
149149

150-
// disallow use of labels for anything other then loops and switches
150+
// disallow use of labels for anything other than loops and switches
151151
'no-labels': ['error', { allowLoop: false, allowSwitch: false }],
152152

153153
// disallow unnecessary nested blocks
@@ -217,7 +217,7 @@ module.exports = {
217217
// disallow usage of __proto__ property
218218
'no-proto': 'error',
219219

220-
// disallow declaring the same variable more then once
220+
// disallow declaring the same variable more than once
221221
'no-redeclare': 'error',
222222

223223
// disallow certain object properties

0 commit comments

Comments
 (0)