Skip to content

Commit ea7575e

Browse files
committed
add types files to eslint ignore list
1 parent a15950c commit ea7575e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/gatsby/.eslintrc.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ module.exports = {
66
parserOptions: {
77
jsx: true,
88
},
9-
// ignoring the package-specific prepack script here b/c it is not
10-
// covered by a `tsconfig` which makes eslint throw an error
11-
ignorePatterns: ['scripts/prepack.ts'],
9+
// ignore these because they're not covered by a `tsconfig`, which makes eslint throw an error
10+
ignorePatterns: ['scripts/prepack.ts', 'gatsby-browser.d.ts', 'gatsby-node.d.ts'],
1211
extends: ['../../.eslintrc.js'],
1312
};

0 commit comments

Comments
 (0)