Skip to content

Commit

Permalink
@typescript-eslint/restrict-template-expressions * explicitly set `al…
Browse files Browse the repository at this point in the history
…lowNumber` since numbers aren't allowed anymore in strict preset
  • Loading branch information
anmiles committed Mar 20, 2024
1 parent c4a49ad commit 2cae321
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [7.1.1](../../tags/v7.1.1) - 2024-03-20
### Changed
- @typescript-eslint/restrict-template-expressions * explicitly set `allowNumber` since numbers aren't allowed anymore in strict preset

## [7.1.0](../../tags/v7.1.0) - 2024-03-20
### Changed
- Update dependencies
Expand Down
1 change: 1 addition & 0 deletions src/plugins/@typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = {
'@typescript-eslint/promise-function-async' : [ 'error' ],
'@typescript-eslint/require-await' : [ 'error' ],
'@typescript-eslint/restrict-plus-operands' : [ 'error' ],
'@typescript-eslint/restrict-template-expressions' : [ 'error', { allowNumber : true } ],
'@typescript-eslint/sort-type-constituents' : [ 'error' ],
'@typescript-eslint/switch-exhaustiveness-check' : [ 'error' ],
'@typescript-eslint/unbound-method' : [ 'error', { ignoreStatic : true } ],
Expand Down

0 comments on commit 2cae321

Please sign in to comment.