babel-eslint
Advanced tools
Comparing version 6.0.5 to 6.1.0
@@ -368,2 +368,3 @@ var babylonToEspree = require("./babylon-to-espree"); | ||
eslintOptions.sourceType = options.sourceType = options.sourceType || "module"; | ||
eslintOptions.allowImportExportEverywhere = options.allowImportExportEverywhere = options.allowImportExportEverywhere || false; | ||
if (options.sourceType === "module") { | ||
@@ -389,3 +390,3 @@ eslintOptions.globalReturn = false; | ||
strictMode: true, | ||
allowImportExportEverywhere: false, // consistent with espree | ||
allowImportExportEverywhere: options.allowImportExportEverywhere, // consistent with espree | ||
allowReturnOutsideFunction: true, | ||
@@ -392,0 +393,0 @@ allowSuperOutsideMethod: true, |
{ | ||
"name": "babel-eslint", | ||
"version": "6.0.5", | ||
"version": "6.1.0", | ||
"description": "Custom parser for ESLint", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31734
871