We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eca224 commit c9fd0baCopy full SHA for c9fd0ba
src/cli.ts
@@ -135,6 +135,13 @@ async function main(): Promise<void> {
135
await writeFile('eslint.json', JSON.stringify(eslintJson, null, 2))
136
}
137
138
+ if (await exists('prettier.config.js')) {
139
+ console.log('prettier.config.js already exists, skipping creation')
140
+ } else {
141
+ console.log('📄 Adding prettier.config.js')
142
+ await writeFile('prettier.config.js', "module.exports = require('@sourcegraph/prettierrc')")
143
+ }
144
+
145
console.log('📄 Adding .editorconfig')
146
await writeFile(
147
'.editorconfig',
0 commit comments