remove hardcoded strict mode value (babel/babel-eslint#331)

This commit is contained in:
Henry Zhu 2016-06-27 01:53:27 -04:00
parent 19baee2242
commit 66a4cf578f

View File

@ -385,7 +385,6 @@ exports.parse = function (code, options) {
exports.parseNoPatch = function (code, options) { exports.parseNoPatch = function (code, options) {
var opts = { var opts = {
sourceType: options.sourceType, sourceType: options.sourceType,
strictMode: true,
allowImportExportEverywhere: options.allowImportExportEverywhere, // consistent with espree allowImportExportEverywhere: options.allowImportExportEverywhere, // consistent with espree
allowReturnOutsideFunction: true, allowReturnOutsideFunction: true,
allowSuperOutsideMethod: true, allowSuperOutsideMethod: true,