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 86215c7 commit a5183f0Copy full SHA for a5183f0
src/setup.ts
@@ -41,7 +41,10 @@ async function setup() {
41
);
42
43
if (!pathNames.length) {
44
- const configPath = findUpSync(CONFIG_FILE_NAME);
+ const configPath = findUpSync([
45
+ `${CONFIG_FILE_NAME}.js`,
46
+ `${CONFIG_FILE_NAME}.ts`,
47
+ ]);
48
if (!configPath) {
49
output.error(
50
`Please enter a file path or use a ${CONFIG_FILE_NAME} file.`,
0 commit comments