Skip to content

Commit

Permalink
fix: default-param-last in airbnb-base doesn't play with TS
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Dec 4, 2021
1 parent 0393500 commit 46b16ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ module.exports = {
// Disable requiring return types because it's too easy to broaden them by accident.
'@typescript-eslint/explicit-module-boundary-types': 'off',

// The stock `default-param-last` ESlint rule doesn't play with TS.
'default-param-last': 'off',
'@typescript-eslint/default-param-last': ['error'],

'import/extensions': [
'error',
'ignorePackages',
Expand Down

0 comments on commit 46b16ab

Please sign in to comment.