Skip to content

Commit

Permalink
ESLint Test - Warning + Error
Browse files Browse the repository at this point in the history
  • Loading branch information
BellCubeDev committed Oct 26, 2024
1 parent 874bae5 commit 242afe9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import AutoImport from 'unplugin-auto-import/vite';
// @ts-expect-error -- really man? readonly?
process.env.NODE_ENV = 'testing';

const banana = 'banana'

Check warning on line 7 in vitest.config.ts

View workflow job for this annotation

GitHub Actions / Code Tests & Lint

Missing semicolon

export default defineConfig({
// @ts-expect-error -- testing ESLint
banana: banana,

Check failure on line 11 in vitest.config.ts

View workflow job for this annotation

GitHub Actions / Code Tests & Lint

Expected property shorthand
plugins: [
AutoImport({
imports: ['vitest'],
Expand Down

0 comments on commit 242afe9

Please sign in to comment.