This repository was archived by the owner on Feb 9, 2025. It is now read-only.
v26.0.0-beta.4
Pre-release
Pre-release
·
235 commits
to main
since this release
26.0.0-beta.4 (2020-02-11)
Bug Fixes
Features
- typescript: Add new TypeScript rules (9e77b24)
- typescript: Disable @typescript-eslint/explicit-module-boundary-types again (a88a683)
- typescript: Enforce naming convention (1fb0844)
- typescript: Improve TypeScript support in base ESLint rules (6763671)
- Add @typescript-eslint/explicit-module-boundary-types (3f106a0)
BREAKING CHANGES
- typescript: There are new rules for TypeScript code:
- no-dynamic-delete
- no-extra-non-null-assertion
- no-floating-promises
- no-non-null-asserted-optional-chain
- no-unnecessary-condition
- prefer-as-con
- prefer-nullish-coalescing
- prefer-optional-chain
- restrict-template-expressions
- return-await
- switch-exhaustiveness-check
- typescript: The new rule enforces the consistent use of camelCase, PascalCase and UPPER_CASE for variable, property and member names. Additionally, only PascalCase is allowed for type-like structures.
- Exported functions now need to specify an explicit return type. This enforces everyone to be explicit about the public interface of the module. This is likely to increase the developer experience because type errors will show up closer to the actual error.