From b5ef704d2620acac5dbfa8bc21a859b898d61286 Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Mon, 13 Jan 2020 11:13:04 -0800 Subject: [PATCH] fix(eslint-plugin): set default-param-last as an extension rule (#1445) --- packages/eslint-plugin/src/configs/all.json | 1 + packages/eslint-plugin/tools/generate-configs.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/eslint-plugin/src/configs/all.json b/packages/eslint-plugin/src/configs/all.json index b8eff6e78b9..3ae4cb1d962 100644 --- a/packages/eslint-plugin/src/configs/all.json +++ b/packages/eslint-plugin/src/configs/all.json @@ -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", diff --git a/packages/eslint-plugin/tools/generate-configs.ts b/packages/eslint-plugin/tools/generate-configs.ts index 2c7bcfe40cb..d47d01bfdc0 100644 --- a/packages/eslint-plugin/tools/generate-configs.ts +++ b/packages/eslint-plugin/tools/generate-configs.ts @@ -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',