1 parent
b12396d69a
commit
cdb1494170
70 files changed
+973
-1161
No files matched your search
+2
-6
@@ -16,12 +16,8 @@ module.exports = {
|
||||
},
|
||||
printers: {
|
||||
foo: {
|
||||
async print(path) {
|
||||
const { default: prettier } = await import(
|
||||
"../../../../../../config/prettier-entry.js"
|
||||
);
|
||||
const { concat } = prettier.doc.builders;
|
||||
return concat(["foo+", path.getValue().text]);
|
||||
print(path) {
|
||||
return ["foo+", path.getValue().text];
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Generated
Vendored
+2
-6
@@ -16,12 +16,8 @@ module.exports = {
|
||||
},
|
||||
printers: {
|
||||
foobar: {
|
||||
async print(path) {
|
||||
const { default: prettier } = await import(
|
||||
"../../../../../../config/prettier-entry.js"
|
||||
);
|
||||
const { concat } = prettier.doc.builders;
|
||||
return concat(["foobar+", path.getValue().text]);
|
||||
print(path) {
|
||||
return ["foobar+", path.getValue().text];
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
+2
-6
@@ -15,12 +15,8 @@ module.exports = {
|
||||
},
|
||||
printers: {
|
||||
bar: {
|
||||
async print(path) {
|
||||
const { default: prettier } = await import(
|
||||
"../../../../../config/prettier-entry.js"
|
||||
);
|
||||
const { concat } = prettier.doc.builders;
|
||||
return concat(["content from `prettier-plugin-bar` package + ", path.getValue().text]);
|
||||
print(path) {
|
||||
return ["content from `prettier-plugin-bar` package + ", path.getValue().text];
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user