Skip to content

Commit 13443e8

Browse files
committed
chore: treat lint warnings as errors
1 parent 3221047 commit 13443e8

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"
@@ -41,7 +41,7 @@
4141
"oxfmt --write"
4242
],
4343
"*.js": [
44-
"oxlint"
44+
"oxlint --deny-warnings"
4545
]
4646
}
4747
}

0 commit comments

Comments
 (0)