Skip to content

Commit

Permalink
fix: default react option to false, update test
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed May 4, 2021
1 parent 0c86290 commit 00c7316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function resolveOptions(userOptions: UserOptions): ResolvedOptions {
syncIndex = true,
replaceSquareBrackets = false,
nuxtStyle = false,
react = true,
react = false,
} = userOptions

const root = process.cwd()
Expand Down
1 change: 1 addition & 0 deletions test/options.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const resolvedOptions = {
nuxtStyle: false,
exclude: [],
syncIndex: true,
react: false,
replaceSquareBrackets: false,
}

Expand Down

0 comments on commit 00c7316

Please sign in to comment.