diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e23d96..d5ff07a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/plugins/@typescript-eslint.js b/src/plugins/@typescript-eslint.js index a986a86..73fbf74 100644 --- a/src/plugins/@typescript-eslint.js +++ b/src/plugins/@typescript-eslint.js @@ -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 } ],