Skip to content

Commit

Permalink
patch: configure prettier in the project to use balena-lint configura…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
aethernet committed Apr 19, 2024
1 parent 3957273 commit faeaa58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const fs = require("fs");
const path = require("path");

module.exports = JSON.parse(
fs.readFileSync(path.join(__dirname, "node_modules", "@balena", "lint", "config", ".prettierrc"), "utf8"),
);

0 comments on commit faeaa58

Please sign in to comment.