From bf78d97436c163fb9091d68de2a7fdc87f78e53d Mon Sep 17 00:00:00 2001 From: romaing Date: Tue, 31 Oct 2023 09:21:11 +0100 Subject: [PATCH] refined lint-staged configuration in backend and updated CHANGELOG --- CHANGELOG.md | 8 +++++--- backend/package.json | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9cc0f79..7779e644 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,13 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Nothing right now. [Open an issue](https://github.com/WildCodeSchool/js-template-fullstack/issues) if you find something. -## [4.1.2] - 2023-10-26 +## [4.1.2] - 2023-10-31 ### Changed -- Removing `yarn` and `pnpm` package managers in favor of npm. +- Refined `lint-staged` configuration to focus on code files only. Thanks to [Dimitri Lavaury-Collot](https://github.com/Gwada). -- Use of the cache to optimize job execution time. +- Removed `yarn` and `pnpm` package managers in favor of npm. Thanks to [Dimitri Lavaury-Collot](https://github.com/Gwada). + +- Used cache to optimize job execution time. Thanks to [Dimitri Lavaury-Collot](https://github.com/Gwada). ## [4.1.1] - 2023-10-18 diff --git a/backend/package.json b/backend/package.json index 128931cc..b8059cb1 100644 --- a/backend/package.json +++ b/backend/package.json @@ -25,7 +25,7 @@ "supertest": "^6.3.3" }, "lint-staged": { - "*": "prettier --check", + "*.sql": "prettier --check", "*.js": "eslint" } }