remove hardcoded strict mode value (babel/babel-eslint#331)
This commit is contained in:
parent
19baee2242
commit
66a4cf578f
@ -385,7 +385,6 @@ exports.parse = function (code, options) {
|
||||
exports.parseNoPatch = function (code, options) {
|
||||
var opts = {
|
||||
sourceType: options.sourceType,
|
||||
strictMode: true,
|
||||
allowImportExportEverywhere: options.allowImportExportEverywhere, // consistent with espree
|
||||
allowReturnOutsideFunction: true,
|
||||
allowSuperOutsideMethod: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user