Skip to content

Commit d00d443

Browse files
onairmarcEncoreBot
andauthored
Fix Path Handling (#3)
Co-authored-by: EncoreBot <ghbot@encoredigitalgroup.com>
1 parent 68c6a9f commit d00d443

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

bin/cli.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ async function runPrettier(targetDir, dryRun) {
4646
ignore: ["node_modules/**", "dist/**", "vendor/**"],
4747
});
4848

49-
files.push("package.json");
50-
files.push("package-lock.json");
51-
files.push("tsconfig.json");
52-
5349
console.info(`Running Prettier on ${files.length} files...`);
5450

5551
for (const file of files) {

tsconfig.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,15 @@
2424
"strictBindCallApply": true,
2525
"strictPropertyInitialization": true,
2626
"target": "ES2020",
27-
"types": ["node"]
27+
"types": [
28+
"node"
29+
]
2830
},
29-
"exclude": ["node_modules", "**/*.test.ts"],
30-
"include": ["src/**/*"]
31+
"exclude": [
32+
"node_modules",
33+
"**/*.test.ts"
34+
],
35+
"include": [
36+
"src/**/*"
37+
]
3138
}

0 commit comments

Comments
 (0)