Skip to content

Commit 0b779c3

Browse files
committed
chore: treat lint warnings as errors
1 parent 424fdf3 commit 0b779c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"build": "rm -rf dist && mkdir -p dist && zip -r dist/github-notifier-pro-chrome.zip manifest.json src/ images/ -x '*.DS_Store' '*.git*' '*node_modules*' '*.md' && mkdir -p dist/tmp-firefox && cp manifest-firefox.json dist/tmp-firefox/manifest.json && cp -r src images dist/tmp-firefox/ && (cd dist/tmp-firefox && zip -r ../github-notifier-pro-firefox.zip manifest.json src/ images/ -x '*.DS_Store' '*.git*' '*node_modules*' '*.md') && rm -rf dist/tmp-firefox && echo '✨ Build complete! Chrome & Firefox packages in dist/'",
2323
"dev:firefox": "rm -rf dist/firefox-dev && mkdir -p dist/firefox-dev && cp manifest-firefox.json dist/firefox-dev/manifest.json && cp -r src dist/firefox-dev/ && cp -r images dist/firefox-dev/ && echo '🦊 Firefox dev environment ready at dist/firefox-dev/'",
2424
"test": "vitest run",
25-
"lint": "oxlint src/ tests/",
25+
"lint": "oxlint --deny-warnings src/ tests/",
2626
"format": "oxfmt --write .",
2727
"format:check": "oxfmt --check .",
2828
"prepare": "husky"
@@ -40,7 +40,7 @@
4040
"oxfmt --write"
4141
],
4242
"*.js": [
43-
"oxlint"
43+
"oxlint --deny-warnings"
4444
]
4545
}
4646
}

0 commit comments

Comments
 (0)