babel-eslint
Advanced tools
Comparing version 3.1.25 to 3.1.26
@@ -366,4 +366,2 @@ var acornToEsprima = require("./acorn-to-esprima"); | ||
exports.attachComments = function (ast, comments, tokens) { | ||
estraverse.attachComments(ast, comments, tokens); | ||
if (comments.length) { | ||
@@ -460,3 +458,3 @@ var firstComment = comments[0]; | ||
ast.comments = comments; | ||
exports.attachComments(ast, comments, tokens); | ||
exports.attachComments(ast, comments, ast.tokens); | ||
@@ -463,0 +461,0 @@ // transform esprima and acorn divergent nodes |
{ | ||
"name": "babel-eslint", | ||
"version": "3.1.25", | ||
"version": "3.1.26", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1221,2 +1221,11 @@ /*eslint-env mocha*/ | ||
}); | ||
it("ternary and parens #149", function () { | ||
verifyAndAssertMessages([ | ||
"true ? (true) : false;" | ||
].join("\n"), | ||
{ "space-infix-ops": 1 }, | ||
[] | ||
); | ||
}); | ||
}); |
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
66493
2017