Skip to content

Conversation

@abichinger
Copy link

@abichinger abichinger commented Dec 15, 2021

Hi

I think it would be nice to have an include option.

include and exclude should work identical to the options in tsconfig

exclude only changes which files are included as a result of the include setting

Changes:

  • add new command-line option: -i --include
  • remove replace('./', '') from argv.source, because paths like ../sibling/src resolve to .sibling/src
  • modify function listFolder

BREAKING CHANGE: it is only possible to exclude files (not folders)

BREAKING CHANGE: it is only possible to exclude files (not folders)
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ph1p ph1p added the enhancement New feature or request label Dec 15, 2021
@ph1p
Copy link
Owner

ph1p commented Feb 15, 2022

Damn I had in the back of my mind that this was an issue, sorry :/ I have now added a way to use include.
Thanks for your time you invested :) Could you look again over my changes in version 4.3.0? Maybe you notice something I forgot and we can add some code from your PR.

@ph1p ph1p closed this Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

2 participants