Skip to content

Commit

Permalink
add storybook dir to rw lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Dec 9, 2024
1 parent 90b720f commit fb41dd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/commands/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export const handler = async ({ path, fix }) => {
fix && '--fix',
!pathString && fs.existsSync(getPaths().web.src) && 'web/src',
!pathString && fs.existsSync(getPaths().web.config) && 'web/config',
!pathString &&
fs.existsSync(getPaths().web.storybook) &&
'web/.storybook',
!pathString && fs.existsSync(getPaths().scripts) && 'scripts',
!pathString && fs.existsSync(getPaths().api.src) && 'api/src',
pathString,
Expand Down

0 comments on commit fb41dd0

Please sign in to comment.