Skip to content

Commit 82f30b1

Browse files
authored
fix(stylelint): drop export default (#191)
1 parent d1c422c commit 82f30b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vite-plugin-checker/src/checkers/stylelint/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import chokidar from 'chokidar'
22
import stylelint from 'stylelint'
3-
import translateOptions from './options.js'
3+
import { translateOptions } from './options.js'
44
import path from 'path'
55
import { fileURLToPath } from 'url'
66
import { parentPort } from 'worker_threads'

packages/vite-plugin-checker/src/checkers/stylelint/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ import type Stylelint from 'stylelint'
9292

9393
const EXIT_CODE_ERROR = 2
9494

95-
export default (command: string) => {
95+
export const translateOptions = (command: string) => {
9696
const result = meow({
9797
autoHelp: false,
9898
autoVersion: false,

0 commit comments

Comments
 (0)