Skip to content

Commit

Permalink
fix(eslint-plugin): set default-param-last as an extension rule (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher authored Jan 13, 2020
1 parent d52f519 commit b5ef704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-plugin/src/configs/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@typescript-eslint/brace-style": "error",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/consistent-type-definitions": "error",
"default-param-last": "off",
"@typescript-eslint/default-param-last": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/explicit-member-accessibility": "error",
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-plugin/tools/generate-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const DEFAULT_RULE_SETTING = 'warn';
const BASE_RULES_TO_BE_OVERRIDDEN = new Set([
'brace-style',
'camelcase',
'default-param-last',
'func-call-spacing',
'indent',
'no-array-constructor',
Expand Down

0 comments on commit b5ef704

Please sign in to comment.