Add the ability to configure the parser via package.json. Configuration should be implicit (ie require no extra option from the CLI.
Changes
The configuration should look like the following.
"jqkill": {
"root": "src/",
"match": [
"**/src/**"
],
"ignore": [
"**/__test__/*"
]
}
Match and ignore patterns get concatenated into a string before being passed into the match function Ex "pattern1,pattern2,patternN".
Precedence
- if root is defined on the CLI then the value in package.json is ignored
- if match is defined on the CLI, it overrides package.json
- if ignore is defined on the cli, it overrides package.json
Add the ability to configure the parser via
package.json. Configuration should be implicit (ie require no extra option from the CLI.Changes
The configuration should look like the following.
Match and ignore patterns get concatenated into a string before being passed into the match function Ex
"pattern1,pattern2,patternN".Precedence