Skip to content

Commit 6b15605

Browse files
chore: intentionally no use no-ternary
Co-authored-by: Saulo Nunes <[email protected]>
1 parent 837106d commit 6b15605

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/test/_intentionally-unused-rules.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const intentionallyUnusedRules: string[] = [
88
// > If you are working on a codebase within which you lint non-TypeScript code (i.e. `.js`/`.mjs`/`.cjs`/`.jsx`), you should ensure that you should use [ESLint `overrides`](https://eslint.org/docs/user-guide/configuring#disabling-rules-only-for-a-group-of-files) to only enable the rule on `.ts`/`.mts`/`.cts`/`.tsx` files. If you don't, then you will get unfixable lint errors reported within `.js`/`.mjs`/`.cjs`/`.jsx` files.
99
'@typescript-eslint/explicit-member-accessibility',
1010

11+
// ## removes a desired language feature
12+
'no-ternary',
13+
1114
// ## "too much"
1215

1316
'no-inline-comments',

src/test/_rules_to_consider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export const rulesToConsider: Record<string, string[]> = {
1818
'no-restricted-properties',
1919
'no-restricted-syntax',
2020
'no-setter-return',
21-
'no-ternary',
2221
'no-undef',
2322
'no-undefined',
2423
'no-underscore-dangle',

0 commit comments

Comments
 (0)