Skip to content

Commit

Permalink
fix: relax rule default-param-last (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
theoludwig committed Jul 2, 2021
1 parent 7c4722a commit 8c836dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ test('export', (t): void => {
'brace-style': 'off',
camelcase: 'off',
'comma-spacing': 'off',
'default-param-last': 'off',
'dot-notation': 'off',
'func-call-spacing': 'off',
indent: 'off',
Expand Down Expand Up @@ -67,7 +66,6 @@ test('export', (t): void => {
}
],
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
'@typescript-eslint/default-param-last': 'error',
'@typescript-eslint/dot-notation': ['error', { allowKeywords: true }],
'@typescript-eslint/explicit-function-return-type': ['error', {
allowExpressions: true,
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ const config: Linter.Config = {
// Rules replaced by @typescript-eslint versions:
...fromEntries(equivalents.map((name) => [name, 'off'])),
camelcase: 'off',
'default-param-last': 'off',
'no-use-before-define': 'off',

// @typescript-eslint versions of Standard.js rules:
Expand All @@ -74,7 +73,6 @@ const config: Linter.Config = {
}
],
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
'@typescript-eslint/default-param-last': 'error',
'@typescript-eslint/explicit-function-return-type': ['error', {
allowExpressions: true,
allowHigherOrderFunctions: true,
Expand Down

0 comments on commit 8c836dc

Please sign in to comment.