Skip to content

Commit 9f152a4

Browse files
committed
chore: return void for configureVueProject
1 parent 75bae41 commit 9f152a4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/utilities.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,13 @@ let projectOptions: ProjectOptions = {
3131

3232
// This function, if called, is guaranteed to be executed before `defineConfigWithVueTs`,
3333
// so mutating the `projectOptions` object is safe and will be reflected in the final ESLint config.
34-
export function configureVueProject(userOptions: ProjectOptions) {
34+
export function configureVueProject(userOptions: ProjectOptions): void {
3535
if (userOptions.scriptLangs) {
3636
projectOptions.scriptLangs = userOptions.scriptLangs
3737
}
3838
if (userOptions.rootDir) {
3939
projectOptions.rootDir = userOptions.rootDir
4040
}
41-
42-
// Return an empty array as it doesn't introduce any real ESLint configs by itself
43-
return []
4441
}
4542

4643
export function defineConfigWithVueTs(

0 commit comments

Comments
 (0)