Skip to content

Commit

Permalink
fix(typescript): remove @typescript-eslint/sort-type-constituents
Browse files Browse the repository at this point in the history
The rule has been deprecated in favor of `eslint-plugin-perfectionist`, and it's not clear if the
rule is useful enough to justify the additional plugin, so for now we're just doing to remove it
  • Loading branch information
G-Rath committed Dec 6, 2024
1 parent 68f6bb9 commit fca0da4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ const generateConfig = () => {
'@typescript-eslint/prefer-string-starts-ends-with': 'warn',
'@typescript-eslint/promise-function-async': 'error',
'@typescript-eslint/require-array-sort-compare': 'warn',
'@typescript-eslint/sort-type-constituents': 'error',
'@typescript-eslint/switch-exhaustiveness-check': 'error',
'@typescript-eslint/unified-signatures': 'warn', // can be a bit wrong
'array-callback-return': 'off',
Expand Down

0 comments on commit fca0da4

Please sign in to comment.