From 2ba7e3397a3f6b89cd7fd8e80ea4d7f2628bbe8c Mon Sep 17 00:00:00 2001 From: Matthias Hecht Date: Wed, 29 May 2024 16:28:49 +0200 Subject: [PATCH 1/6] fix: allows number in string templates for @typescript-eslint/restrict-template-expressions --- CHANGELOG.md | 138 ++++++++++++++++++------------------------------- base/strict.js | 9 ++++ 2 files changed, 60 insertions(+), 87 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc725ac..1bea80c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,242 +1,206 @@ ## [5.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0...v5.0.1) (2024-05-15) - ### Bug Fixes -* **base:** [sonarjs] use recommended-legacy configuration ([baa1736](https://github.com/Boehringer-Ingelheim/eslint-config/commit/baa173616db5554babe303a1705c4eb1a6bd1385)) +- **base:** [sonarjs] use recommended-legacy configuration ([baa1736](https://github.com/Boehringer-Ingelheim/eslint-config/commit/baa173616db5554babe303a1705c4eb1a6bd1385)) # [5.0.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.2.0...v5.0.0) (2024-05-13) - ### Bug Fixes -* merge brought in unintentional downgrade ([39fc2ec](https://github.com/Boehringer-Ingelheim/eslint-config/commit/39fc2ec533edc47f6eeda77d83e4b71081728f43)) - +- merge brought in unintentional downgrade ([39fc2ec](https://github.com/Boehringer-Ingelheim/eslint-config/commit/39fc2ec533edc47f6eeda77d83e4b71081728f43)) ### Features -* added react-refresh to react config ([8a9c441](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8a9c441b1119726462204fac46b1f11f9e647495)) -* **perfectionist:** adapt the rule configuration to sort-intersection-types ([f2a2f94](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f2a2f9468759b12029f35aa489fb8609dc35d697)) -* update package typescript-eslint@7 ([b2990b5](https://github.com/Boehringer-Ingelheim/eslint-config/commit/b2990b5d9df75a612ffcdc454c037152884c19ca)) -* update version ([cdfd4cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cdfd4cc841e53be7c69229ef0d2b4525f2488358)) - +- added react-refresh to react config ([8a9c441](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8a9c441b1119726462204fac46b1f11f9e647495)) +- **perfectionist:** adapt the rule configuration to sort-intersection-types ([f2a2f94](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f2a2f9468759b12029f35aa489fb8609dc35d697)) +- update package typescript-eslint@7 ([b2990b5](https://github.com/Boehringer-Ingelheim/eslint-config/commit/b2990b5d9df75a612ffcdc454c037152884c19ca)) +- update version ([cdfd4cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cdfd4cc841e53be7c69229ef0d2b4525f2488358)) ### BREAKING CHANGES -* update to typescript-eslint@7 +- update to typescript-eslint@7 # [5.0.0-next.3](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0-next.2...v5.0.0-next.3) (2024-04-25) - ### Features -* **perfectionist:** adapt the rule configuration to sort-intersection-types ([f2a2f94](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f2a2f9468759b12029f35aa489fb8609dc35d697)) +- **perfectionist:** adapt the rule configuration to sort-intersection-types ([f2a2f94](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f2a2f9468759b12029f35aa489fb8609dc35d697)) # [5.0.0-next.2](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0-next.1...v5.0.0-next.2) (2024-04-09) - ### Bug Fixes -* merge brought in unintentional downgrade ([39fc2ec](https://github.com/Boehringer-Ingelheim/eslint-config/commit/39fc2ec533edc47f6eeda77d83e4b71081728f43)) - +- merge brought in unintentional downgrade ([39fc2ec](https://github.com/Boehringer-Ingelheim/eslint-config/commit/39fc2ec533edc47f6eeda77d83e4b71081728f43)) ### Features -* added react-refresh to react config ([8a9c441](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8a9c441b1119726462204fac46b1f11f9e647495)) -* update version ([cdfd4cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cdfd4cc841e53be7c69229ef0d2b4525f2488358)) +- added react-refresh to react config ([8a9c441](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8a9c441b1119726462204fac46b1f11f9e647495)) +- update version ([cdfd4cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cdfd4cc841e53be7c69229ef0d2b4525f2488358)) # [5.0.0-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.2.0...v5.0.0-next.1) (2024-03-14) - ### Features -* update package typescript-eslint@7 ([b2990b5](https://github.com/Boehringer-Ingelheim/eslint-config/commit/b2990b5d9df75a612ffcdc454c037152884c19ca)) - +- update package typescript-eslint@7 ([b2990b5](https://github.com/Boehringer-Ingelheim/eslint-config/commit/b2990b5d9df75a612ffcdc454c037152884c19ca)) ### BREAKING CHANGES -* update to typescript-eslint@7 +- update to typescript-eslint@7 # [4.2.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.1.0...v4.2.0) (2024-03-14) - ### Features -* updates ([a18892a](https://github.com/Boehringer-Ingelheim/eslint-config/commit/a18892ae723a317d9bab4661a6d2b24483a0bb72)) +- updates ([a18892a](https://github.com/Boehringer-Ingelheim/eslint-config/commit/a18892ae723a317d9bab4661a6d2b24483a0bb72)) # [4.1.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.1...v4.1.0) (2024-01-18) - ### Features -* add reportUnusedDisableDirectives setting to base ([d73d2e6](https://github.com/Boehringer-Ingelheim/eslint-config/commit/d73d2e6f6c79c1094db18e56a92843f060a3eebe)) +- add reportUnusedDisableDirectives setting to base ([d73d2e6](https://github.com/Boehringer-Ingelheim/eslint-config/commit/d73d2e6f6c79c1094db18e56a92843f060a3eebe)) ## [4.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.0...v4.0.1) (2023-11-16) - ### Bug Fixes -* **perfectionist:** reenable recommended groups configuration of perfectionist/sort-classes ([8fa1e5b](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8fa1e5b2a9cba29f05288d825d7dfe61539d00e4)), closes [#16](https://github.com/Boehringer-Ingelheim/eslint-config/issues/16) +- **perfectionist:** reenable recommended groups configuration of perfectionist/sort-classes ([8fa1e5b](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8fa1e5b2a9cba29f05288d825d7dfe61539d00e4)), closes [#16](https://github.com/Boehringer-Ingelheim/eslint-config/issues/16) # [4.0.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v3.0.0...v4.0.0) (2023-11-10) - ### Bug Fixes -* fixes wrong type hints in base config and react config ([ef60c9f](https://github.com/Boehringer-Ingelheim/eslint-config/commit/ef60c9f8c39eee91087b4e8a4bb0e7140d55e939)) -* **perfectionist:** update import groups configuration ([2513e42](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2513e428957d7d97c20b08e26ba40af140f0c88a)) -* **perfectionist:** natural sorting for imports and objects ([2dcb782](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2dcb7821fa3d3ba0366e2938c768ee962dcd23ef)) -* **perfectionist:** refine groups to sort imports ([9fd31cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/9fd31cc33fd42861e99b7f7fe979bfb37a42f87e)) - +- fixes wrong type hints in base config and react config ([ef60c9f](https://github.com/Boehringer-Ingelheim/eslint-config/commit/ef60c9f8c39eee91087b4e8a4bb0e7140d55e939)) +- **perfectionist:** update import groups configuration ([2513e42](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2513e428957d7d97c20b08e26ba40af140f0c88a)) +- **perfectionist:** natural sorting for imports and objects ([2dcb782](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2dcb7821fa3d3ba0366e2938c768ee962dcd23ef)) +- **perfectionist:** refine groups to sort imports ([9fd31cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/9fd31cc33fd42861e99b7f7fe979bfb37a42f87e)) ### Features -* **base:** move consistent type imports rules into strict configuration ([1c55d79](https://github.com/Boehringer-Ingelheim/eslint-config/commit/1c55d7939e6a74d4bb920edc9da780e87ee8e581)) -* **local:** add shared-config for performance improvements for local development ([07dd315](https://github.com/Boehringer-Ingelheim/eslint-config/commit/07dd3158bbf02245f8d90b7e7f484be8e727fac3)) -* **perfectionist:** extend all the rules for natural sorting with ignoring the lower/upper case ([03d7fdc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/03d7fdc346f6b5a521763ccca100612a4bf7ef06)) -* **perfectionist:** extend rule `sort-named-imports` ([bb00813](https://github.com/Boehringer-Ingelheim/eslint-config/commit/bb008130ee5903bae626f1ef63f9e7e58e629d95)) -* **typescript:** enable "@typescript-eslint/consistent-type-imports" rule ([15d5447](https://github.com/Boehringer-Ingelheim/eslint-config/commit/15d5447ee5fb3e4fc4ee2263e5e8eaff0e418308)) - +- **base:** move consistent type imports rules into strict configuration ([1c55d79](https://github.com/Boehringer-Ingelheim/eslint-config/commit/1c55d7939e6a74d4bb920edc9da780e87ee8e581)) +- **local:** add shared-config for performance improvements for local development ([07dd315](https://github.com/Boehringer-Ingelheim/eslint-config/commit/07dd3158bbf02245f8d90b7e7f484be8e727fac3)) +- **perfectionist:** extend all the rules for natural sorting with ignoring the lower/upper case ([03d7fdc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/03d7fdc346f6b5a521763ccca100612a4bf7ef06)) +- **perfectionist:** extend rule `sort-named-imports` ([bb00813](https://github.com/Boehringer-Ingelheim/eslint-config/commit/bb008130ee5903bae626f1ef63f9e7e58e629d95)) +- **typescript:** enable "@typescript-eslint/consistent-type-imports" rule ([15d5447](https://github.com/Boehringer-Ingelheim/eslint-config/commit/15d5447ee5fb3e4fc4ee2263e5e8eaff0e418308)) ### Performance Improvements -* **base:** disable import rules recommended by typescript-eslint ([f35b2a8](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f35b2a88ea619d00088574e7e3aa87f852980e31)) - +- **base:** disable import rules recommended by typescript-eslint ([f35b2a8](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f35b2a88ea619d00088574e7e3aa87f852980e31)) ### BREAKING CHANGES -* **typescript:** Enforces a new import style for TypeScript types +- **typescript:** Enforces a new import style for TypeScript types # [4.0.0-next.4](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.0-next.3...v4.0.0-next.4) (2023-11-09) - ### Bug Fixes -* fixes wrong type hints in base config and react config ([ef60c9f](https://github.com/Boehringer-Ingelheim/eslint-config/commit/ef60c9f8c39eee91087b4e8a4bb0e7140d55e939)) +- fixes wrong type hints in base config and react config ([ef60c9f](https://github.com/Boehringer-Ingelheim/eslint-config/commit/ef60c9f8c39eee91087b4e8a4bb0e7140d55e939)) # [4.0.0-next.3](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.0-next.2...v4.0.0-next.3) (2023-11-09) - ### Features -* **local:** add shared-config for performance improvements for local development ([07dd315](https://github.com/Boehringer-Ingelheim/eslint-config/commit/07dd3158bbf02245f8d90b7e7f484be8e727fac3)) - +- **local:** add shared-config for performance improvements for local development ([07dd315](https://github.com/Boehringer-Ingelheim/eslint-config/commit/07dd3158bbf02245f8d90b7e7f484be8e727fac3)) ### Performance Improvements -* **base:** disable import rules recommended by typescript-eslint ([f35b2a8](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f35b2a88ea619d00088574e7e3aa87f852980e31)) +- **base:** disable import rules recommended by typescript-eslint ([f35b2a8](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f35b2a88ea619d00088574e7e3aa87f852980e31)) # [4.0.0-next.2](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.0-next.1...v4.0.0-next.2) (2023-10-26) - ### Features -* **base:** move consistent type imports rules into strict configuration ([1c55d79](https://github.com/Boehringer-Ingelheim/eslint-config/commit/1c55d7939e6a74d4bb920edc9da780e87ee8e581)) +- **base:** move consistent type imports rules into strict configuration ([1c55d79](https://github.com/Boehringer-Ingelheim/eslint-config/commit/1c55d7939e6a74d4bb920edc9da780e87ee8e581)) # [4.0.0-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v3.1.0-next.2...v4.0.0-next.1) (2023-10-19) - ### Features -* **typescript:** enable "@typescript-eslint/consistent-type-imports" rule ([15d5447](https://github.com/Boehringer-Ingelheim/eslint-config/commit/15d5447ee5fb3e4fc4ee2263e5e8eaff0e418308)) - +- **typescript:** enable "@typescript-eslint/consistent-type-imports" rule ([15d5447](https://github.com/Boehringer-Ingelheim/eslint-config/commit/15d5447ee5fb3e4fc4ee2263e5e8eaff0e418308)) ### BREAKING CHANGES -* **typescript:** Enforces a new import style for TypeScript types +- **typescript:** Enforces a new import style for TypeScript types # [3.1.0-next.2](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v3.1.0-next.1...v3.1.0-next.2) (2023-10-16) - ### Features -* **perfectionist:** extend rule `sort-named-imports` ([bb00813](https://github.com/Boehringer-Ingelheim/eslint-config/commit/bb008130ee5903bae626f1ef63f9e7e58e629d95)) +- **perfectionist:** extend rule `sort-named-imports` ([bb00813](https://github.com/Boehringer-Ingelheim/eslint-config/commit/bb008130ee5903bae626f1ef63f9e7e58e629d95)) # [3.1.0-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v3.0.0...v3.1.0-next.1) (2023-09-26) - ### Bug Fixes -* **perfectionist:** update import groups configuration ([2513e42](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2513e428957d7d97c20b08e26ba40af140f0c88a)) -* **perfectionist:** natural sorting for imports and objects ([2dcb782](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2dcb7821fa3d3ba0366e2938c768ee962dcd23ef)) -* **perfectionist:** refine groups to sort imports ([9fd31cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/9fd31cc33fd42861e99b7f7fe979bfb37a42f87e)) - +- **perfectionist:** update import groups configuration ([2513e42](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2513e428957d7d97c20b08e26ba40af140f0c88a)) +- **perfectionist:** natural sorting for imports and objects ([2dcb782](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2dcb7821fa3d3ba0366e2938c768ee962dcd23ef)) +- **perfectionist:** refine groups to sort imports ([9fd31cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/9fd31cc33fd42861e99b7f7fe979bfb37a42f87e)) ### Features -* **perfectionist:** extend all the rules for natural sorting with ignoring the lower/upper case ([03d7fdc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/03d7fdc346f6b5a521763ccca100612a4bf7ef06)) +- **perfectionist:** extend all the rules for natural sorting with ignoring the lower/upper case ([03d7fdc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/03d7fdc346f6b5a521763ccca100612a4bf7ef06)) # [3.0.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v2.0.0...v3.0.0) (2023-09-13) - ### Features -* add eslint-plugin-perfectionist ([92c629b](https://github.com/Boehringer-Ingelheim/eslint-config/commit/92c629bf8c11205e2204b598eb3c951546edd9af)) -* update to eslint-plugin-perfectionist@2 ([5da0d2d](https://github.com/Boehringer-Ingelheim/eslint-config/commit/5da0d2dc1fb1c17c0da6230582d687dab60c019b)) - +- add eslint-plugin-perfectionist ([92c629b](https://github.com/Boehringer-Ingelheim/eslint-config/commit/92c629bf8c11205e2204b598eb3c951546edd9af)) +- update to eslint-plugin-perfectionist@2 ([5da0d2d](https://github.com/Boehringer-Ingelheim/eslint-config/commit/5da0d2dc1fb1c17c0da6230582d687dab60c019b)) ### BREAKING CHANGES -* update to eslint-plugin-perfectionist@2 -* add eslint-plugin-perfectionist and remove eslint-plugin-sort-keys-plus +- update to eslint-plugin-perfectionist@2 +- add eslint-plugin-perfectionist and remove eslint-plugin-sort-keys-plus # [2.0.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.4...v2.0.0) (2023-08-14) - ### Features -* update to typescript-eslint@6 ([dc77acf](https://github.com/Boehringer-Ingelheim/eslint-config/commit/dc77acf4b8427ec36c8e42711abf86cf2ee73066)) - +- update to typescript-eslint@6 ([dc77acf](https://github.com/Boehringer-Ingelheim/eslint-config/commit/dc77acf4b8427ec36c8e42711abf86cf2ee73066)) ### BREAKING CHANGES -* update to typescript-eslint@6 +- update to typescript-eslint@6 ## [1.1.4](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.3...v1.1.4) (2023-06-01) - ### Bug Fixes -* **eslint-plugin:** [import/no-unused-modules] ignore configuration files on `eslintrc` file level ([a50fdf2](https://github.com/Boehringer-Ingelheim/eslint-config/commit/a50fdf2447945babf08ede0c21fee971c1d42b22)) +- **eslint-plugin:** [import/no-unused-modules] ignore configuration files on `eslintrc` file level ([a50fdf2](https://github.com/Boehringer-Ingelheim/eslint-config/commit/a50fdf2447945babf08ede0c21fee971c1d42b22)) ## [1.1.3](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.2...v1.1.3) (2023-04-19) - ### Bug Fixes -* **eslint-plugin:** [parserOptions] improve monorepo support ([7e97ec0](https://github.com/Boehringer-Ingelheim/eslint-config/commit/7e97ec031f8df6018b17a9a6a5886f86f03b6df6)) +- **eslint-plugin:** [parserOptions] improve monorepo support ([7e97ec0](https://github.com/Boehringer-Ingelheim/eslint-config/commit/7e97ec031f8df6018b17a9a6a5886f86f03b6df6)) ## [1.1.2](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.1...v1.1.2) (2023-04-19) - ### Bug Fixes -* **eslint-plugin:** [import/no-unused-modules] support CJS and ESM file extension on specified files ([4d872bf](https://github.com/Boehringer-Ingelheim/eslint-config/commit/4d872bf16e74ab94eec4911a6dc41b184d5bba06)) +- **eslint-plugin:** [import/no-unused-modules] support CJS and ESM file extension on specified files ([4d872bf](https://github.com/Boehringer-Ingelheim/eslint-config/commit/4d872bf16e74ab94eec4911a6dc41b184d5bba06)) ## [1.1.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.0...v1.1.1) (2023-03-07) - ### Bug Fixes -* **eslint-plugin:** [import/no-unused-modules] ignore rule on specified files ([be03c76](https://github.com/Boehringer-Ingelheim/eslint-config/commit/be03c76474f15a6cb40392fd323d0a994f0daceb)) +- **eslint-plugin:** [import/no-unused-modules] ignore rule on specified files ([be03c76](https://github.com/Boehringer-Ingelheim/eslint-config/commit/be03c76474f15a6cb40392fd323d0a994f0daceb)) # [1.1.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.0.1...v1.1.0) (2023-03-01) - ### Features -* **react:** disallow the use of TypeScript enums ([cd7fc5c](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cd7fc5cd1d71d902e814c01b1e0dc8ed2dbd1710)) +- **react:** disallow the use of TypeScript enums ([cd7fc5c](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cd7fc5cd1d71d902e814c01b1e0dc8ed2dbd1710)) ## [1.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.0.0...v1.0.1) (2023-02-16) - ### Bug Fixes -* **deps:** eslint rules not found ([f74af62](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f74af62f8804e58baf90a4cc52450240af0c8d97)) +- **deps:** eslint rules not found ([f74af62](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f74af62f8804e58baf90a4cc52450240af0c8d97)) # 1.0.0 (2023-02-07) - ### Features -* initial version ([45c6ab6](https://github.com/Boehringer-Ingelheim/eslint-config/commit/45c6ab6d21d9f39ee205dd9c9ab87ae4befb5424)) +- initial version ([45c6ab6](https://github.com/Boehringer-Ingelheim/eslint-config/commit/45c6ab6d21d9f39ee205dd9c9ab87ae4befb5424)) diff --git a/base/strict.js b/base/strict.js index 336ec99..f983637 100644 --- a/base/strict.js +++ b/base/strict.js @@ -4,6 +4,8 @@ */ require('@rushstack/eslint-patch/modern-module-resolution'); +const typescriptEslintPlugin = require('@typescript-eslint/eslint-plugin'); + /** @type {import('eslint').ESLint.ConfigData} */ module.exports = { extends: ['./index.js', 'plugin:@typescript-eslint/strict-type-checked'], @@ -11,6 +13,13 @@ module.exports = { // @typescript-eslint: https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/eslint-plugin/docs/rules '@typescript-eslint/consistent-type-imports': 'error', '@typescript-eslint/no-import-type-side-effects': 'error', + '@typescript-eslint/restrict-template-expressions': [ + 'error', + { + ...typescriptEslintPlugin.rules['restrict-template-expressions'].meta.docs.recommended.strict, + allowNumber: true, + }, + ], // eslint-plugin-import: https://github.com/import-js/eslint-plugin-import/tree/main/docs/rules 'import/consistent-type-specifier-style': ['error', 'prefer-top-level'], From 86de0a7993091c72c529138d825d45180ee2ef18 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 29 May 2024 15:14:03 +0000 Subject: [PATCH 2/6] chore(release): 5.0.2-next.1 [skip ci] ## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-05-29) ### Bug Fixes * allows number in string templates for @typescript-eslint/restrict-template-expressions ([f985ba0](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f985ba014c699c22a821a297dbaa33d1eec0e962)) --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bea80c..434f307 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-05-29) + + +### Bug Fixes + +* allows number in string templates for @typescript-eslint/restrict-template-expressions ([f985ba0](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f985ba014c699c22a821a297dbaa33d1eec0e962)) + ## [5.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0...v5.0.1) (2024-05-15) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index 6a56f1a..70fd239 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@boehringer-ingelheim/eslint-config", - "version": "5.0.1", + "version": "5.0.2-next.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@boehringer-ingelheim/eslint-config", - "version": "5.0.1", + "version": "5.0.2-next.1", "license": "MIT", "dependencies": { "@rushstack/eslint-patch": "^1.10.3", diff --git a/package.json b/package.json index b723f30..665ea76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@boehringer-ingelheim/eslint-config", - "version": "5.0.1", + "version": "5.0.2-next.1", "description": "Shared eslint configuration used at Boehringer Ingelheim for code styling", "keywords": [ "boehringer", From 1671b048bc3d461c179291383089709676659f21 Mon Sep 17 00:00:00 2001 From: Simon Golms Date: Thu, 11 Jul 2024 10:20:14 +0200 Subject: [PATCH 3/6] docs(CHANGELOG): revert mistaken formatting changes --- CHANGELOG.md | 138 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 87 insertions(+), 51 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 434f307..cbe142f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,207 +7,243 @@ ## [5.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0...v5.0.1) (2024-05-15) + ### Bug Fixes -- **base:** [sonarjs] use recommended-legacy configuration ([baa1736](https://github.com/Boehringer-Ingelheim/eslint-config/commit/baa173616db5554babe303a1705c4eb1a6bd1385)) +* **base:** [sonarjs] use recommended-legacy configuration ([baa1736](https://github.com/Boehringer-Ingelheim/eslint-config/commit/baa173616db5554babe303a1705c4eb1a6bd1385)) # [5.0.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.2.0...v5.0.0) (2024-05-13) + ### Bug Fixes -- merge brought in unintentional downgrade ([39fc2ec](https://github.com/Boehringer-Ingelheim/eslint-config/commit/39fc2ec533edc47f6eeda77d83e4b71081728f43)) +* merge brought in unintentional downgrade ([39fc2ec](https://github.com/Boehringer-Ingelheim/eslint-config/commit/39fc2ec533edc47f6eeda77d83e4b71081728f43)) + ### Features -- added react-refresh to react config ([8a9c441](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8a9c441b1119726462204fac46b1f11f9e647495)) -- **perfectionist:** adapt the rule configuration to sort-intersection-types ([f2a2f94](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f2a2f9468759b12029f35aa489fb8609dc35d697)) -- update package typescript-eslint@7 ([b2990b5](https://github.com/Boehringer-Ingelheim/eslint-config/commit/b2990b5d9df75a612ffcdc454c037152884c19ca)) -- update version ([cdfd4cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cdfd4cc841e53be7c69229ef0d2b4525f2488358)) +* added react-refresh to react config ([8a9c441](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8a9c441b1119726462204fac46b1f11f9e647495)) +* **perfectionist:** adapt the rule configuration to sort-intersection-types ([f2a2f94](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f2a2f9468759b12029f35aa489fb8609dc35d697)) +* update package typescript-eslint@7 ([b2990b5](https://github.com/Boehringer-Ingelheim/eslint-config/commit/b2990b5d9df75a612ffcdc454c037152884c19ca)) +* update version ([cdfd4cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cdfd4cc841e53be7c69229ef0d2b4525f2488358)) + ### BREAKING CHANGES -- update to typescript-eslint@7 +* update to typescript-eslint@7 # [5.0.0-next.3](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0-next.2...v5.0.0-next.3) (2024-04-25) + ### Features -- **perfectionist:** adapt the rule configuration to sort-intersection-types ([f2a2f94](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f2a2f9468759b12029f35aa489fb8609dc35d697)) +* **perfectionist:** adapt the rule configuration to sort-intersection-types ([f2a2f94](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f2a2f9468759b12029f35aa489fb8609dc35d697)) # [5.0.0-next.2](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0-next.1...v5.0.0-next.2) (2024-04-09) + ### Bug Fixes -- merge brought in unintentional downgrade ([39fc2ec](https://github.com/Boehringer-Ingelheim/eslint-config/commit/39fc2ec533edc47f6eeda77d83e4b71081728f43)) +* merge brought in unintentional downgrade ([39fc2ec](https://github.com/Boehringer-Ingelheim/eslint-config/commit/39fc2ec533edc47f6eeda77d83e4b71081728f43)) + ### Features -- added react-refresh to react config ([8a9c441](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8a9c441b1119726462204fac46b1f11f9e647495)) -- update version ([cdfd4cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cdfd4cc841e53be7c69229ef0d2b4525f2488358)) +* added react-refresh to react config ([8a9c441](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8a9c441b1119726462204fac46b1f11f9e647495)) +* update version ([cdfd4cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cdfd4cc841e53be7c69229ef0d2b4525f2488358)) # [5.0.0-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.2.0...v5.0.0-next.1) (2024-03-14) + ### Features -- update package typescript-eslint@7 ([b2990b5](https://github.com/Boehringer-Ingelheim/eslint-config/commit/b2990b5d9df75a612ffcdc454c037152884c19ca)) +* update package typescript-eslint@7 ([b2990b5](https://github.com/Boehringer-Ingelheim/eslint-config/commit/b2990b5d9df75a612ffcdc454c037152884c19ca)) + ### BREAKING CHANGES -- update to typescript-eslint@7 +* update to typescript-eslint@7 # [4.2.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.1.0...v4.2.0) (2024-03-14) + ### Features -- updates ([a18892a](https://github.com/Boehringer-Ingelheim/eslint-config/commit/a18892ae723a317d9bab4661a6d2b24483a0bb72)) +* updates ([a18892a](https://github.com/Boehringer-Ingelheim/eslint-config/commit/a18892ae723a317d9bab4661a6d2b24483a0bb72)) # [4.1.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.1...v4.1.0) (2024-01-18) + ### Features -- add reportUnusedDisableDirectives setting to base ([d73d2e6](https://github.com/Boehringer-Ingelheim/eslint-config/commit/d73d2e6f6c79c1094db18e56a92843f060a3eebe)) +* add reportUnusedDisableDirectives setting to base ([d73d2e6](https://github.com/Boehringer-Ingelheim/eslint-config/commit/d73d2e6f6c79c1094db18e56a92843f060a3eebe)) ## [4.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.0...v4.0.1) (2023-11-16) + ### Bug Fixes -- **perfectionist:** reenable recommended groups configuration of perfectionist/sort-classes ([8fa1e5b](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8fa1e5b2a9cba29f05288d825d7dfe61539d00e4)), closes [#16](https://github.com/Boehringer-Ingelheim/eslint-config/issues/16) +* **perfectionist:** reenable recommended groups configuration of perfectionist/sort-classes ([8fa1e5b](https://github.com/Boehringer-Ingelheim/eslint-config/commit/8fa1e5b2a9cba29f05288d825d7dfe61539d00e4)), closes [#16](https://github.com/Boehringer-Ingelheim/eslint-config/issues/16) # [4.0.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v3.0.0...v4.0.0) (2023-11-10) + ### Bug Fixes -- fixes wrong type hints in base config and react config ([ef60c9f](https://github.com/Boehringer-Ingelheim/eslint-config/commit/ef60c9f8c39eee91087b4e8a4bb0e7140d55e939)) -- **perfectionist:** update import groups configuration ([2513e42](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2513e428957d7d97c20b08e26ba40af140f0c88a)) -- **perfectionist:** natural sorting for imports and objects ([2dcb782](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2dcb7821fa3d3ba0366e2938c768ee962dcd23ef)) -- **perfectionist:** refine groups to sort imports ([9fd31cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/9fd31cc33fd42861e99b7f7fe979bfb37a42f87e)) +* fixes wrong type hints in base config and react config ([ef60c9f](https://github.com/Boehringer-Ingelheim/eslint-config/commit/ef60c9f8c39eee91087b4e8a4bb0e7140d55e939)) +* **perfectionist:** update import groups configuration ([2513e42](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2513e428957d7d97c20b08e26ba40af140f0c88a)) +* **perfectionist:** natural sorting for imports and objects ([2dcb782](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2dcb7821fa3d3ba0366e2938c768ee962dcd23ef)) +* **perfectionist:** refine groups to sort imports ([9fd31cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/9fd31cc33fd42861e99b7f7fe979bfb37a42f87e)) + ### Features -- **base:** move consistent type imports rules into strict configuration ([1c55d79](https://github.com/Boehringer-Ingelheim/eslint-config/commit/1c55d7939e6a74d4bb920edc9da780e87ee8e581)) -- **local:** add shared-config for performance improvements for local development ([07dd315](https://github.com/Boehringer-Ingelheim/eslint-config/commit/07dd3158bbf02245f8d90b7e7f484be8e727fac3)) -- **perfectionist:** extend all the rules for natural sorting with ignoring the lower/upper case ([03d7fdc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/03d7fdc346f6b5a521763ccca100612a4bf7ef06)) -- **perfectionist:** extend rule `sort-named-imports` ([bb00813](https://github.com/Boehringer-Ingelheim/eslint-config/commit/bb008130ee5903bae626f1ef63f9e7e58e629d95)) -- **typescript:** enable "@typescript-eslint/consistent-type-imports" rule ([15d5447](https://github.com/Boehringer-Ingelheim/eslint-config/commit/15d5447ee5fb3e4fc4ee2263e5e8eaff0e418308)) +* **base:** move consistent type imports rules into strict configuration ([1c55d79](https://github.com/Boehringer-Ingelheim/eslint-config/commit/1c55d7939e6a74d4bb920edc9da780e87ee8e581)) +* **local:** add shared-config for performance improvements for local development ([07dd315](https://github.com/Boehringer-Ingelheim/eslint-config/commit/07dd3158bbf02245f8d90b7e7f484be8e727fac3)) +* **perfectionist:** extend all the rules for natural sorting with ignoring the lower/upper case ([03d7fdc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/03d7fdc346f6b5a521763ccca100612a4bf7ef06)) +* **perfectionist:** extend rule `sort-named-imports` ([bb00813](https://github.com/Boehringer-Ingelheim/eslint-config/commit/bb008130ee5903bae626f1ef63f9e7e58e629d95)) +* **typescript:** enable "@typescript-eslint/consistent-type-imports" rule ([15d5447](https://github.com/Boehringer-Ingelheim/eslint-config/commit/15d5447ee5fb3e4fc4ee2263e5e8eaff0e418308)) + ### Performance Improvements -- **base:** disable import rules recommended by typescript-eslint ([f35b2a8](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f35b2a88ea619d00088574e7e3aa87f852980e31)) +* **base:** disable import rules recommended by typescript-eslint ([f35b2a8](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f35b2a88ea619d00088574e7e3aa87f852980e31)) + ### BREAKING CHANGES -- **typescript:** Enforces a new import style for TypeScript types +* **typescript:** Enforces a new import style for TypeScript types # [4.0.0-next.4](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.0-next.3...v4.0.0-next.4) (2023-11-09) + ### Bug Fixes -- fixes wrong type hints in base config and react config ([ef60c9f](https://github.com/Boehringer-Ingelheim/eslint-config/commit/ef60c9f8c39eee91087b4e8a4bb0e7140d55e939)) +* fixes wrong type hints in base config and react config ([ef60c9f](https://github.com/Boehringer-Ingelheim/eslint-config/commit/ef60c9f8c39eee91087b4e8a4bb0e7140d55e939)) # [4.0.0-next.3](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.0-next.2...v4.0.0-next.3) (2023-11-09) + ### Features -- **local:** add shared-config for performance improvements for local development ([07dd315](https://github.com/Boehringer-Ingelheim/eslint-config/commit/07dd3158bbf02245f8d90b7e7f484be8e727fac3)) +* **local:** add shared-config for performance improvements for local development ([07dd315](https://github.com/Boehringer-Ingelheim/eslint-config/commit/07dd3158bbf02245f8d90b7e7f484be8e727fac3)) + ### Performance Improvements -- **base:** disable import rules recommended by typescript-eslint ([f35b2a8](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f35b2a88ea619d00088574e7e3aa87f852980e31)) +* **base:** disable import rules recommended by typescript-eslint ([f35b2a8](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f35b2a88ea619d00088574e7e3aa87f852980e31)) # [4.0.0-next.2](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v4.0.0-next.1...v4.0.0-next.2) (2023-10-26) + ### Features -- **base:** move consistent type imports rules into strict configuration ([1c55d79](https://github.com/Boehringer-Ingelheim/eslint-config/commit/1c55d7939e6a74d4bb920edc9da780e87ee8e581)) +* **base:** move consistent type imports rules into strict configuration ([1c55d79](https://github.com/Boehringer-Ingelheim/eslint-config/commit/1c55d7939e6a74d4bb920edc9da780e87ee8e581)) # [4.0.0-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v3.1.0-next.2...v4.0.0-next.1) (2023-10-19) + ### Features -- **typescript:** enable "@typescript-eslint/consistent-type-imports" rule ([15d5447](https://github.com/Boehringer-Ingelheim/eslint-config/commit/15d5447ee5fb3e4fc4ee2263e5e8eaff0e418308)) +* **typescript:** enable "@typescript-eslint/consistent-type-imports" rule ([15d5447](https://github.com/Boehringer-Ingelheim/eslint-config/commit/15d5447ee5fb3e4fc4ee2263e5e8eaff0e418308)) + ### BREAKING CHANGES -- **typescript:** Enforces a new import style for TypeScript types +* **typescript:** Enforces a new import style for TypeScript types # [3.1.0-next.2](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v3.1.0-next.1...v3.1.0-next.2) (2023-10-16) + ### Features -- **perfectionist:** extend rule `sort-named-imports` ([bb00813](https://github.com/Boehringer-Ingelheim/eslint-config/commit/bb008130ee5903bae626f1ef63f9e7e58e629d95)) +* **perfectionist:** extend rule `sort-named-imports` ([bb00813](https://github.com/Boehringer-Ingelheim/eslint-config/commit/bb008130ee5903bae626f1ef63f9e7e58e629d95)) # [3.1.0-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v3.0.0...v3.1.0-next.1) (2023-09-26) + ### Bug Fixes -- **perfectionist:** update import groups configuration ([2513e42](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2513e428957d7d97c20b08e26ba40af140f0c88a)) -- **perfectionist:** natural sorting for imports and objects ([2dcb782](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2dcb7821fa3d3ba0366e2938c768ee962dcd23ef)) -- **perfectionist:** refine groups to sort imports ([9fd31cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/9fd31cc33fd42861e99b7f7fe979bfb37a42f87e)) +* **perfectionist:** update import groups configuration ([2513e42](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2513e428957d7d97c20b08e26ba40af140f0c88a)) +* **perfectionist:** natural sorting for imports and objects ([2dcb782](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2dcb7821fa3d3ba0366e2938c768ee962dcd23ef)) +* **perfectionist:** refine groups to sort imports ([9fd31cc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/9fd31cc33fd42861e99b7f7fe979bfb37a42f87e)) + ### Features -- **perfectionist:** extend all the rules for natural sorting with ignoring the lower/upper case ([03d7fdc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/03d7fdc346f6b5a521763ccca100612a4bf7ef06)) +* **perfectionist:** extend all the rules for natural sorting with ignoring the lower/upper case ([03d7fdc](https://github.com/Boehringer-Ingelheim/eslint-config/commit/03d7fdc346f6b5a521763ccca100612a4bf7ef06)) # [3.0.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v2.0.0...v3.0.0) (2023-09-13) + ### Features -- add eslint-plugin-perfectionist ([92c629b](https://github.com/Boehringer-Ingelheim/eslint-config/commit/92c629bf8c11205e2204b598eb3c951546edd9af)) -- update to eslint-plugin-perfectionist@2 ([5da0d2d](https://github.com/Boehringer-Ingelheim/eslint-config/commit/5da0d2dc1fb1c17c0da6230582d687dab60c019b)) +* add eslint-plugin-perfectionist ([92c629b](https://github.com/Boehringer-Ingelheim/eslint-config/commit/92c629bf8c11205e2204b598eb3c951546edd9af)) +* update to eslint-plugin-perfectionist@2 ([5da0d2d](https://github.com/Boehringer-Ingelheim/eslint-config/commit/5da0d2dc1fb1c17c0da6230582d687dab60c019b)) + ### BREAKING CHANGES -- update to eslint-plugin-perfectionist@2 -- add eslint-plugin-perfectionist and remove eslint-plugin-sort-keys-plus +* update to eslint-plugin-perfectionist@2 +* add eslint-plugin-perfectionist and remove eslint-plugin-sort-keys-plus # [2.0.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.4...v2.0.0) (2023-08-14) + ### Features -- update to typescript-eslint@6 ([dc77acf](https://github.com/Boehringer-Ingelheim/eslint-config/commit/dc77acf4b8427ec36c8e42711abf86cf2ee73066)) +* update to typescript-eslint@6 ([dc77acf](https://github.com/Boehringer-Ingelheim/eslint-config/commit/dc77acf4b8427ec36c8e42711abf86cf2ee73066)) + ### BREAKING CHANGES -- update to typescript-eslint@6 +* update to typescript-eslint@6 ## [1.1.4](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.3...v1.1.4) (2023-06-01) + ### Bug Fixes -- **eslint-plugin:** [import/no-unused-modules] ignore configuration files on `eslintrc` file level ([a50fdf2](https://github.com/Boehringer-Ingelheim/eslint-config/commit/a50fdf2447945babf08ede0c21fee971c1d42b22)) +* **eslint-plugin:** [import/no-unused-modules] ignore configuration files on `eslintrc` file level ([a50fdf2](https://github.com/Boehringer-Ingelheim/eslint-config/commit/a50fdf2447945babf08ede0c21fee971c1d42b22)) ## [1.1.3](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.2...v1.1.3) (2023-04-19) + ### Bug Fixes -- **eslint-plugin:** [parserOptions] improve monorepo support ([7e97ec0](https://github.com/Boehringer-Ingelheim/eslint-config/commit/7e97ec031f8df6018b17a9a6a5886f86f03b6df6)) +* **eslint-plugin:** [parserOptions] improve monorepo support ([7e97ec0](https://github.com/Boehringer-Ingelheim/eslint-config/commit/7e97ec031f8df6018b17a9a6a5886f86f03b6df6)) ## [1.1.2](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.1...v1.1.2) (2023-04-19) + ### Bug Fixes -- **eslint-plugin:** [import/no-unused-modules] support CJS and ESM file extension on specified files ([4d872bf](https://github.com/Boehringer-Ingelheim/eslint-config/commit/4d872bf16e74ab94eec4911a6dc41b184d5bba06)) +* **eslint-plugin:** [import/no-unused-modules] support CJS and ESM file extension on specified files ([4d872bf](https://github.com/Boehringer-Ingelheim/eslint-config/commit/4d872bf16e74ab94eec4911a6dc41b184d5bba06)) ## [1.1.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.1.0...v1.1.1) (2023-03-07) + ### Bug Fixes -- **eslint-plugin:** [import/no-unused-modules] ignore rule on specified files ([be03c76](https://github.com/Boehringer-Ingelheim/eslint-config/commit/be03c76474f15a6cb40392fd323d0a994f0daceb)) +* **eslint-plugin:** [import/no-unused-modules] ignore rule on specified files ([be03c76](https://github.com/Boehringer-Ingelheim/eslint-config/commit/be03c76474f15a6cb40392fd323d0a994f0daceb)) # [1.1.0](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.0.1...v1.1.0) (2023-03-01) + ### Features -- **react:** disallow the use of TypeScript enums ([cd7fc5c](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cd7fc5cd1d71d902e814c01b1e0dc8ed2dbd1710)) +* **react:** disallow the use of TypeScript enums ([cd7fc5c](https://github.com/Boehringer-Ingelheim/eslint-config/commit/cd7fc5cd1d71d902e814c01b1e0dc8ed2dbd1710)) ## [1.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v1.0.0...v1.0.1) (2023-02-16) + ### Bug Fixes -- **deps:** eslint rules not found ([f74af62](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f74af62f8804e58baf90a4cc52450240af0c8d97)) +* **deps:** eslint rules not found ([f74af62](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f74af62f8804e58baf90a4cc52450240af0c8d97)) # 1.0.0 (2023-02-07) + ### Features -- initial version ([45c6ab6](https://github.com/Boehringer-Ingelheim/eslint-config/commit/45c6ab6d21d9f39ee205dd9c9ab87ae4befb5424)) +* initial version ([45c6ab6](https://github.com/Boehringer-Ingelheim/eslint-config/commit/45c6ab6d21d9f39ee205dd9c9ab87ae4befb5424)) From 975b3cf4afd53dca1758a164628b1c50ad97f83c Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 11 Jul 2024 08:25:26 +0000 Subject: [PATCH 4/6] chore(release): 5.0.2-next.1 [skip ci] ## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-07-11) ### Bug Fixes * allows number in string templates for @typescript-eslint/restrict-template-expressions ([2ba7e33](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2ba7e3397a3f6b89cd7fd8e80ea4d7f2628bbe8c)) --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cbe142f..e63010e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-07-11) + + +### Bug Fixes + +* allows number in string templates for @typescript-eslint/restrict-template-expressions ([2ba7e33](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2ba7e3397a3f6b89cd7fd8e80ea4d7f2628bbe8c)) + ## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-05-29) From 9c75deac74a1925303cdf496e56a40b629ed93ea Mon Sep 17 00:00:00 2001 From: Simon Golms Date: Thu, 11 Jul 2024 10:31:51 +0200 Subject: [PATCH 5/6] docs(CHANGELOG): remove incorrect duplicate entry --- CHANGELOG.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e63010e..bc725ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,3 @@ -## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-07-11) - - -### Bug Fixes - -* allows number in string templates for @typescript-eslint/restrict-template-expressions ([2ba7e33](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2ba7e3397a3f6b89cd7fd8e80ea4d7f2628bbe8c)) - -## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-05-29) - - -### Bug Fixes - -* allows number in string templates for @typescript-eslint/restrict-template-expressions ([f985ba0](https://github.com/Boehringer-Ingelheim/eslint-config/commit/f985ba014c699c22a821a297dbaa33d1eec0e962)) - ## [5.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0...v5.0.1) (2024-05-15) From 8dd3122e7cfe0811398d7116a6457f9a9d81da28 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 11 Jul 2024 08:32:21 +0000 Subject: [PATCH 6/6] chore(release): 5.0.2-next.1 [skip ci] ## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-07-11) ### Bug Fixes * allows number in string templates for @typescript-eslint/restrict-template-expressions ([2ba7e33](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2ba7e3397a3f6b89cd7fd8e80ea4d7f2628bbe8c)) --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc725ac..1ddece0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [5.0.2-next.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.1...v5.0.2-next.1) (2024-07-11) + + +### Bug Fixes + +* allows number in string templates for @typescript-eslint/restrict-template-expressions ([2ba7e33](https://github.com/Boehringer-Ingelheim/eslint-config/commit/2ba7e3397a3f6b89cd7fd8e80ea4d7f2628bbe8c)) + ## [5.0.1](https://github.com/Boehringer-Ingelheim/eslint-config/compare/v5.0.0...v5.0.1) (2024-05-15)