Skip to content

Commit

Permalink
fix: @putout/plugin-package-json: remove-exports-with-missing-files: …
Browse files Browse the repository at this point in the history
…indent: 4 -> 2
  • Loading branch information
coderaiser committed Oct 2, 2024
1 parent df9d6b0 commit 491a5da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__putout_processor_filesystem([
"/",
["/package.json", "ewogICAgImV4cG9ydHMiOiB7CiAgICAgICAgIi4vcGFyc2Utb3B0aW9ucyI6ICIuL2xpYi9wYXJzZS1vcHRpb25zL2luZGV4LmpzIgogICAgfQp9Cg=="],
["/package.json", "ewogICJleHBvcnRzIjogewogICAgIi4vcGFyc2Utb3B0aW9ucyI6ICIuL2xpYi9wYXJzZS1vcHRpb25zL2luZGV4LmpzIgogIH0KfQo="],
"/lib/",
"/lib/parse-options/",
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ export const fix = (file, {ast, source}) => {
],
});

const code = print(ast);
const code = print(ast, {
printer: ['putout', {
format: {
indent: ' ',
},
}],
});

writeFileContent(file, fromJS(code));
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__putout_processor_filesystem([
"/",
["/package.json", "ewogICAgImV4cG9ydHMiOiB7CiAgICAgICAgIi4vcGFyc2Utb3B0aW9ucyI6ICIuL2xpYi9wYXJzZS1vcHRpb25zL2luZGV4LmpzIgogICAgfQp9Cg=="],
["/package.json", "ewogICJleHBvcnRzIjogewogICAgIi4vcGFyc2Utb3B0aW9ucyI6ICIuL2xpYi9wYXJzZS1vcHRpb25zL2luZGV4LmpzIgogIH0KfQo="],
"/lib/",
"/lib/parse-options/",
[
Expand Down

0 comments on commit 491a5da

Please sign in to comment.