From 4fbd9158d89d6810216b385ebc240a9f2fd0ca80 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 31 Jan 2023 14:01:43 +0000 Subject: [PATCH 1/2] chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.50.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5b141819..f04ebec1 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@types/node": "18.11.18", "@types/npm-package-arg": "6.1.1", "@types/semver": "7.3.13", - "@typescript-eslint/eslint-plugin": "5.49.0", + "@typescript-eslint/eslint-plugin": "5.50.0", "ava": "5.1.1", "editorconfig-checker": "5.0.1", "eslint": "8.33.0", From f1d8be39dfeb4c59511690d91a311f15b8f425dc Mon Sep 17 00:00:00 2001 From: "Shahar \"Dawn\" Or" Date: Wed, 1 Feb 2023 14:36:06 +0700 Subject: [PATCH 2/2] feat: @typescript-eslint/key-spacing BREAKING CHANGE: @typescript-eslint/key-spacing --- src/index.test.ts | 2 ++ src/index.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/index.test.ts b/src/index.test.ts index ad5047d1..018d2ccc 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -61,6 +61,7 @@ test('export', (t): void => { 'dot-notation': 'off', 'func-call-spacing': 'off', indent: 'off', + 'key-spacing': 'off', 'keyword-spacing': 'off', 'lines-between-class-members': 'off', 'no-array-constructor': 'off', @@ -195,6 +196,7 @@ test('export', (t): void => { ignoredNodes: ['TemplateLiteral *', 'JSXElement', 'JSXElement > *', 'JSXAttribute', 'JSXIdentifier', 'JSXNamespacedName', 'JSXMemberExpression', 'JSXSpreadAttribute', 'JSXExpressionContainer', 'JSXOpeningElement', 'JSXClosingElement', 'JSXFragment', 'JSXOpeningFragment', 'JSXClosingFragment', 'JSXText', 'JSXEmptyExpression', 'JSXSpreadChild'], offsetTernaryExpressions: true }], + '@typescript-eslint/key-spacing': ['error', { beforeColon: false, afterColon: true }], '@typescript-eslint/keyword-spacing': ['error', { before: true, after: true }], '@typescript-eslint/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }], '@typescript-eslint/member-delimiter-style': [ diff --git a/src/index.ts b/src/index.ts index 6b048113..08295267 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,6 +7,7 @@ const equivalents = [ 'brace-style', 'func-call-spacing', 'indent', + 'key-spacing', 'keyword-spacing', 'lines-between-class-members', 'no-array-constructor',