From c2d19302c476ad901d9e0f6f4fec5fdb4b07cb32 Mon Sep 17 00:00:00 2001 From: Adam Skoufis Date: Mon, 15 Apr 2024 11:38:31 +1000 Subject: [PATCH] Disable `consistent-type-definition` rule (#139) --- .changeset/afraid-candles-breathe.md | 7 +++++++ base.js | 1 + 2 files changed, 8 insertions(+) create mode 100644 .changeset/afraid-candles-breathe.md diff --git a/.changeset/afraid-candles-breathe.md b/.changeset/afraid-candles-breathe.md new file mode 100644 index 0000000..e99e148 --- /dev/null +++ b/.changeset/afraid-candles-breathe.md @@ -0,0 +1,7 @@ +--- +'eslint-config-seek': patch +--- + +Disable [`@typescript-eslint/consistent-type-definition` rule][rule] + +[rule]: https://typescript-eslint.io/rules/consistent-type-definitions/ diff --git a/base.js b/base.js index 51563c0..4e9502b 100644 --- a/base.js +++ b/base.js @@ -131,6 +131,7 @@ const baseConfig = { }, rules: { '@typescript-eslint/array-type': [ERROR, { default: 'array-simple' }], + '@typescript-eslint/consistent-type-definitions': OFF, '@typescript-eslint/no-unused-expressions': ERROR, '@typescript-eslint/no-unused-vars': [ ERROR,