Skip to content

Commit

Permalink
chore: remove prettier-ignore from generated files
Browse files Browse the repository at this point in the history
Addresses @jfmengels's feedback from #187 (comment).

Co-authored-by: Jeroen Engels <[email protected]>
  • Loading branch information
lishaduck and jfmengels committed Nov 10, 2024
1 parent 6d67b22 commit af254b5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@ function checkDepsAreCompatible(exampleConfiguration, previewDependencies) {

const remainingKeys = Object.keys(previewDependencies);
if (remainingKeys.length > 0) {
const extraneousDependencies = remainingKeys.join(', ');

console.error(
// prettier-ignore
`There are extraneous dependencies in the ${exampleConfiguration}/ configuration: ${remainingKeys.join(', ')}`
`There are extraneous dependencies in the ${exampleConfiguration}/ configuration: ${extraneousDependencies}`
);
process.exit(1);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ function checkDepsAreCompatible(exampleConfiguration, previewDependencies) {

const remainingKeys = Object.keys(previewDependencies);
if (remainingKeys.length > 0) {
const extraneousDependencies = remainingKeys.join(', ');

console.error(
// prettier-ignore
`There are extraneous dependencies in the ${exampleConfiguration}/ configuration: ${remainingKeys.join(', ')}`
`There are extraneous dependencies in the ${exampleConfiguration}/ configuration: ${extraneousDependencies}`
);
process.exit(1);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ function checkDepsAreCompatible(exampleConfiguration, previewDependencies) {

const remainingKeys = Object.keys(previewDependencies);
if (remainingKeys.length > 0) {
const extraneousDependencies = remainingKeys.join(', ');

console.error(
// prettier-ignore
`There are extraneous dependencies in the ${exampleConfiguration}/ configuration: ${remainingKeys.join(', ')}`
`There are extraneous dependencies in the ${exampleConfiguration}/ configuration: ${extraneousDependencies}`
);
process.exit(1);
}
Expand Down

0 comments on commit af254b5

Please sign in to comment.