From d54a5249c1a35bfed988fcc66332e23226d84579 Mon Sep 17 00:00:00 2001 From: Max Milton Date: Fri, 7 Jun 2024 17:47:08 +0900 Subject: [PATCH] chore: Update lint configs --- .eslintrc.cjs | 4 ++-- biome.json | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 26caf16..210fb55 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,5 +1,3 @@ -'use strict'; // eslint-disable-line - const OFF = 0; const WARN = 1; const ERROR = 2; @@ -27,9 +25,11 @@ module.exports = { 'import/prefer-default-export': OFF, 'no-restricted-syntax': OFF, 'unicorn/filename-case': OFF, + 'unicorn/import-style': WARN, 'unicorn/no-abusive-eslint-disable': WARN, 'unicorn/no-null': OFF, 'unicorn/prefer-module': WARN, + 'unicorn/prefer-string-raw': WARN, 'unicorn/prefer-top-level-await': WARN, 'unicorn/prevent-abbreviations': OFF, diff --git a/biome.json b/biome.json index e3d653c..41d7a4e 100644 --- a/biome.json +++ b/biome.json @@ -18,7 +18,7 @@ "javascript": { "formatter": { "semicolons": "always", - "trailingComma": "all", + "trailingCommas": "all", "quoteStyle": "single" } }, @@ -55,10 +55,8 @@ "noConsoleLog": "warn", "noConstEnum": "off", "noExplicitAny": "off", + "noFocusedTests": "error", "noMisrefactoredShorthandAssign": "error" - }, - "nursery": { - "noFocusedTests": "error" } } },