revert changes to use strict literal newline generation
This commit is contained in:
parent
3f0ac54032
commit
b277f2c986
@ -103,8 +103,8 @@ exports.nodes = {
|
||||
* Test if Literal needs whitespace.
|
||||
*/
|
||||
|
||||
Literal(node, parent) {
|
||||
if (t.isExpressionStatement(parent) || t.isProgram(parent)) {
|
||||
Literal(node) {
|
||||
if (node.value === "use strict") {
|
||||
return {
|
||||
after: true
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user