ESLint shareable config for TypeScript to be used with eslint-config-xo
MIT License
Bot releases are visible (Hide)
default-case
rule to avoid conflict with stricter @typescript-eslint/switch-exhaustiveness-check
rule (#85) 8cb7722https://github.com/xojs/eslint-config-xo-typescript/compare/v3.0.0...v4.0.0
https://github.com/xojs/eslint-config-xo-typescript/compare/v2.1.1...v3.0.0
@typescript-eslint
(#82)" fbafd4dhttps://github.com/xojs/eslint-config-xo-typescript/compare/v2.1.0...v2.1.1
@typescript-eslint
(#82) 9b65605https://github.com/xojs/eslint-config-xo-typescript/compare/v2.0.0...v2.1.0
Buffer
type in favor of Uint8Array
d7fff2e
@typescript-eslint/prefer-find
0b25758@typescript-eslint/no-array-delete
819862d@typescript-eslint/prefer-promise-reject-errors
9533972@typescript-eslint/switch-exhaustiveness-check
: Make it stricter df07e88https://github.com/xojs/eslint-config-xo-typescript/compare/v1.0.1...v2.0.0
import/named
rule f1bdb3bhttps://github.com/xojs/eslint-config-xo-typescript/compare/v1.0.0...v1.0.1
@typescript-eslint/no-redundant-type-constituents
rule 59a5d77
unicorn/no-null
rule 6b735fd@typescript-eslint/no-restricted-imports
and @typescript-eslint/restrict-plus-operands
rules for @typescript-eslint/eslint-plugin
6 (#77) cc69c7bhttps://github.com/xojs/eslint-config-xo-typescript/compare/v0.57.0...v1.0.0
@typescript-eslint/member-ordering
rule b336a1c@typescript-eslint/no-implicit-any-catch
rule (#66) 6d5aba9https://github.com/xojs/eslint-config-xo-typescript/compare/v0.55.0...v0.55.1
@typescript-eslint/no-unsafe-declaration-merging
rule 3ec1f94@typescript-eslint/consistent-type-imports
: Add option to prefer inline type imports e41f4a4https://github.com/xojs/eslint-config-xo-typescript/compare/v0.54.1...v0.55.0
@typescript-eslint/consistent-type-exports
829d012@typescript-eslint/consistent-type-imports
a1bdfc9@typescript-eslint/prefer-nullish-coalescing
rule f4cf50dhttps://github.com/xojs/eslint-config-xo-typescript/compare/v0.52.0...v0.53.0
@typescript-eslint/consistent-generic-constructors
e15cd30@typescript-eslint/consistent-type-definitions
7decafc
type
and interface
are almost interchangeable. The main difference is that interface
can be extended from anywhere, which can be useful in a few cases, but can most often cause surprising hard to track down behavior. XO prefers being strict by default and have chosen type
. Just use an eslint-disable
comment in the few cases where you need the declaration to be extendable.@typescript-eslint/parser
to peerDependencies
(#61) fe6f4b7@typescript-eslint/no-duplicate-imports
rule 33c6d92https://github.com/xojs/eslint-config-xo-typescript/compare/v0.51.1...v0.52.0
@typescript-eslint/no-duplicate-enum-values
286a88e@typescript-eslint/parameter-properties
6b9c65d@typescript-eslint/space-before-blocks
5c4a2b5@typescript-eslint/no-useless-empty-export
75cd60b@typescript-eslint/no-redundant-type-constituents
092b7b7BigInt
to @typescript-eslint/ban-types
a5eedf0@typescript-eslint/unified-signatures
rule 6e7a385import/no-duplicates
rule (#55) b45f017@typescript-eslint/no-unused-vars
rule 022fe25https://github.com/xojs/eslint-config-xo-typescript/compare/v0.50.0...v0.51.0
@typescript-eslint/no-throw-literal
: Enable allowThrowingUnknown
option (#51) 2b699f6https://github.com/xojs/eslint-config-xo-typescript/compare/v0.49.0...v0.50.0
.tsx
files (#50) 1105aa8https://github.com/xojs/eslint-config-xo-typescript/compare/v0.48.0...v0.49.0
import/namespace
rule 9ce1d34null
0d1c719@typescript-eslint/restrict-plus-operands
e7b936c@typescript-eslint/no-throw-literal
a829aa2https://github.com/xojs/eslint-config-xo-typescript/compare/v0.47.1...v0.48.0
https://github.com/xojs/eslint-config-xo-typescript/compare/v0.47.0...v0.47.1