Skip to content

Commit

Permalink
Scope to wp-components files only
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Mar 16, 2022
1 parent 42d126f commit 4deb885
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,13 @@ module.exports = {
},
},
{
files: [ '**/@(storybook|stories)/*', '**/*.{ts,tsx}' ],
files: [
'**/@(storybook|stories)/*',
'packages/components/src/**/*.{ts,tsx}',
],
rules: {
// Useful to add story descriptions via JSDoc without specifying params,
// or in TypeScript files where the param types are already specified outside of the JSDoc.
// or in TypeScript files where params are likely already documented outside of the JSDoc.
'jsdoc/require-param': 'off',
},
},
Expand Down

0 comments on commit 4deb885

Please sign in to comment.