Skip to content

Commit 9486905

Browse files
zarv1kakameco
authored andcommitted
fixes babel-plugin-react-intl boolean options parsing of in cli (#49) (#50)
1 parent 298e245 commit 9486905

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cli.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ const cli = meow(
4646
withDescriptions: {
4747
type: 'boolean',
4848
default: false
49+
},
50+
// babel-plugin-react-intl boolean options
51+
enforceDescriptions: {
52+
type: 'boolean',
53+
default: false
54+
},
55+
enforceDefaultMessage: {
56+
type: 'boolean',
57+
default: true
58+
},
59+
extractSourceLocation: {
60+
type: 'boolean',
61+
default: false
4962
}
5063
}
5164
}

0 commit comments

Comments
 (0)