-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/exclude files #28
Conversation
shaharkazaz
commented
Aug 29, 2020
•
edited
Loading
edited
- Allow skipping files
- Add dry run option
- Refactor configuration options (Breaking)
- Infra changes
- Fixed playground
Also made some infra changes BREAKING CHANGE: 🧨 config options ✅ Closes: #20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work @shaharkazaz!
I left a couple of nodes as improvements.
src/conductor/optimize-imports.ts
Outdated
return actions.none; | ||
} | ||
|
||
const fileContent = readFileSync(filePath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we do this earlier? - like we shouldn't optimize the imports at all if the file is ignored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are not optimizing if he is ignored (we return with actions.skipped
), I'm not sure what you mean.
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |