Skip to content

Commit 4579e52

Browse files
committed
chore: fix linting errors
1 parent 820180a commit 4579e52

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

playground/components/my-component/my-component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { it, expect } from 'vitest'
1+
import { expect, it } from 'vitest'
22
import './my-component'
33

44
it('should render', () => {

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ export const unpluginFactory: UnpluginFactory<Options | undefined> = (options =
157157

158158
const sourcemap = sourcemapExists
159159
? { sourceRoot: getRootDir(options), ...JSON.parse(rawSourcemap) }
160-
: undefined;
160+
: undefined
161161

162162
return {
163163
code: transformedCode,
164164
inputFilePath: id,
165-
map: sourcemap
165+
map: sourcemap,
166166
}
167167
},
168168
}

vitest.config.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import path from 'node:path';
2-
import { defineConfig } from 'vitest/config';
3-
import stencil from './src/vite';
1+
import path from 'node:path'
2+
import { defineConfig } from 'vitest/config'
3+
import stencil from './src/vite'
44

55
export default defineConfig({
66
test: {
@@ -21,8 +21,8 @@ export default defineConfig({
2121
{
2222
plugins: [
2323
stencil({
24-
rootPath: path.join(__dirname, 'playground')
25-
})
24+
rootPath: path.join(__dirname, 'playground'),
25+
}),
2626
],
2727
test: {
2828
dir: './playground',
@@ -37,4 +37,4 @@ export default defineConfig({
3737
},
3838
],
3939
},
40-
});
40+
})

0 commit comments

Comments
 (0)