From 3dd5e2c5c7b8be1903b9e885682303f0c0ebf8ec Mon Sep 17 00:00:00 2001 From: Chafik H'nini Date: Sun, 6 Oct 2024 17:41:31 +0200 Subject: [PATCH] style: set noConsole as error --- CHANGELOG.md | 1 + biome.json | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f97e4ce..381f0f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ## spec/v0.4.1 (unreleased) +* style: set noConsole as error * chore: replace eslint/prettier by biome * chore: upgrade to node 22 * chore: simplify linting diff --git a/biome.json b/biome.json index 6d7fc38..6358c4e 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "$schema": "https://biomejs.dev/schemas/1.9.3/schema.json", "formatter": { "indentStyle": "space", "indentWidth": 4 @@ -15,7 +15,10 @@ "linter": { "enabled": true, "rules": { - "recommended": true + "recommended": true, + "suspicious": { + "noConsole": "error" + } } }, "organizeImports": {