diff --git a/eslint.config.ts b/eslint.config.ts index 48bf8bffb89..a9ffc372efb 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -154,13 +154,13 @@ const config: ReturnType = tseslint.config( 'unicorn/number-literal-case': 'off', // incompatible with prettier 'unicorn/numeric-separators-style': 'off', // "magic numbers" may carry specific meaning 'unicorn/prefer-string-raw': 'off', // The additional prefix doesn't help readability + 'unicorn/prefer-string-slice': 'off', // string.substring is sometimes easier to use 'unicorn/prefer-ternary': 'off', // ternaries aren't always better // TODO @Shinigami92 2023-09-23: The following rules currently conflict with our code. // Each rule should be checked whether it should be enabled/configured and the problems fixed, or stay disabled permanently. 'unicorn/consistent-function-scoping': 'off', 'unicorn/prefer-export-from': 'off', - 'unicorn/prefer-string-slice': 'off', 'unicorn/prevent-abbreviations': 'off', }, },