Skip to content

Commit 46b16ab

Browse files
committed
fix: default-param-last in airbnb-base doesn't play with TS
1 parent 0393500 commit 46b16ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

typescript.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ module.exports = {
1111
// Disable requiring return types because it's too easy to broaden them by accident.
1212
'@typescript-eslint/explicit-module-boundary-types': 'off',
1313

14+
// The stock `default-param-last` ESlint rule doesn't play with TS.
15+
'default-param-last': 'off',
16+
'@typescript-eslint/default-param-last': ['error'],
17+
1418
'import/extensions': [
1519
'error',
1620
'ignorePackages',

0 commit comments

Comments
 (0)