Skip to content

Commit

Permalink
[eslint config] [base] [patch] fix spelling of "than"
Browse files Browse the repository at this point in the history
you mean "than" not "then".
  • Loading branch information
drdogbot7 authored and ljharb committed Nov 12, 2020
1 parent 5620bd5 commit 1f786e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config-airbnb-base/rules/best-practices.js
Expand Up @@ -147,7 +147,7 @@ module.exports = {
// disallow usage of __iterator__ property
'no-iterator': 'error',

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

// disallow unnecessary nested blocks
Expand Down Expand Up @@ -217,7 +217,7 @@ module.exports = {
// disallow usage of __proto__ property
'no-proto': 'error',

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

// disallow certain object properties
Expand Down

0 comments on commit 1f786e1

Please sign in to comment.