Skip to content
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

feat(mutate): a more sane default for mutate #2452

Merged
merged 2 commits into from
Sep 3, 2020

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Sep 2, 2020

Change the default patterns for which files should be mutated to:

{ 
  "mutate": [
    "{src,lib}/**/!(*.+(s|S)pec|*.+(t|T)est).+(cjs|mjs|js|ts|jsx|tsx|html|vue)", 
    "!{src,lib}/**/__tests__/**/*.+(cjs|mjs|js|ts|jsx|tsx|html|vue)"
  ]
}

Basically means any JS or friend file in the lib or src directory that isn't obviously a test file.

Fixes #2384

@nicojs nicojs merged commit 673516d into epic/mutation-switching Sep 3, 2020
@nicojs nicojs deleted the feat/better-mutate-glob branch September 3, 2020 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add typescript and vue files to default mutate array
1 participant