Skip to content

Commit 41aa042

Browse files
committed
feat(ci): return error if lint warns
1 parent 5b3c216 commit 41aa042

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Install dependencies
4343
run: yarn install
4444

45-
- run: yarn lint
45+
- run: yarn lint --max-warnings 0
4646

4747
- name: Build Playground
4848
run: yarn dev:build

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineNuxtModule<ModuleOptions>({
1010
},
1111
// Default configuration options of the Nuxt module
1212
defaults: {},
13-
setup() {
13+
setup(options, nuxt) {
1414
const resolver = createResolver(import.meta.url);
1515

1616
// Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`

0 commit comments

Comments
 (0)