From 961695d72cff47e32680eb608a8cf75cfba1358a Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Thu, 13 Jun 2024 12:01:40 +0200 Subject: [PATCH] fix: restore default ignores --- index.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 6f13572..8e47120 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -import neostandard from 'neostandard'; +import neostandard, { resolveIgnoresFromGitignore } from 'neostandard'; import { config } from 'typescript-eslint'; import { additionalRules } from './base-configs/additional-rules.js'; @@ -20,7 +20,12 @@ export function voxpelli (options) { } = options || {}; return config({ - ...ignores && { ignores }, + ignores: [ + 'coverage/**/*', + ...resolveIgnoresFromGitignore(), + ...ignores || [], + ], + 'extends': [ ...neostandard({ semi: true,