From ed660a439a61657f2b9a46ce293e5e70ccdb4ecb Mon Sep 17 00:00:00 2001 From: "Alexander S." Date: Mon, 21 Oct 2024 03:55:21 +0200 Subject: [PATCH] fix: invalid name in eslint v8 (#190) closes #189 also followed the naming conventions: https://eslint.org/docs/latest/use/configure/configuration-files#configuration-naming-conventions --- src/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 041df77..99d78ef 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,21 +20,19 @@ const allRules: UnionToIntersection = Object.assign( export default { configs: { recommended: { - name: 'oxlint ignore rules recommended', plugins: ['oxlint'], rules: ruleMapsByCategory.correctnessRules, }, all: { - name: 'oxlint ignore rules all', plugins: ['oxlint'], rules: allRules, }, 'flat/all': { - name: 'oxlint ignore rules all', + name: 'oxlint/all', rules: allRules, }, 'flat/recommended': { - name: 'oxlint ignore rules recommended', + name: 'oxlint/recommended', rules: ruleMapsByCategory.correctnessRules, }, ...configByScope,