Relaxed no-angle-brackets-type-assertion
in favour of eslint-config-clean-code
.
Relaxed the side effect import rule with html / css / portable fetch imports.
Disabled the strict-boolean-expression
in favour of eslint-config-clean-code
.
The interface name naming convention relaxed from StrictPascalCase
to PascalCase
. This is to allow IInterfaceName
naming.
Updated the ignore list of mocha-no-side-effect-code
to include the getType
function of typesafe-actions
.
Removed the interface-name
rule in favour of eslint-config-clean-code
.
Removed the no-any
rule in favour of eslint-config-clean-code
.
Removed the no-unused-variable
rule as it is deprecated.
Disabled unused imports, variables, functions, and private class members, using no-unused-variable
rule.
Rationale: tsc
's equivalent --noUnusedParameters
and --noUnusedLocals
options are an obligatory compilation failure that cannot be controlled even via exclude
as long as those files are used by "included" code.
So, e.g. for auto-generated API code or external copy-pasted forks, our users would like to control this behaviour via a linter instead, ignoring failures as needed.
Disabled arguments alignment linting as it should be handled by Prettier.
Enforced consistent usage of type casts: as Foo
instead of <Foo>
.
Relaxed the requirement for type aliases naming convention. Non-strict PascalCase is now allowed.
Rationale: interface type aliases where you would like to preserve the 'I' variable in front of the.
Bugfix: disabled newline-per-chained-call
rule as it should be handled by Prettier.
Breaking changes:
- We now recommend
Prettier
for all your code formatting. The rules related to whitespace, indents, etc. have all been disabled. - [
no-arrow-functions](https://palantir.github.io/tslint/rules/only-arrow-functions/) is now enabled to ensure that
this` is always properly bound.
Breaking change: extended tslint-no-circular-imports
configuration.