Skip to content

Commit

Permalink
fix: restore default ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Jun 13, 2024
1 parent 218746c commit 961695d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -20,7 +20,12 @@ export function voxpelli (options) {
} = options || {};

return config({
...ignores && { ignores },
ignores: [
'coverage/**/*',
...resolveIgnoresFromGitignore(),
...ignores || [],
],

'extends': [
...neostandard({
semi: true,
Expand Down

0 comments on commit 961695d

Please sign in to comment.