Skip to content

Commit db3cf51

Browse files
authored
Merge pull request #759 from PermanentOrg/758-disallow-lint-warnings
Return failure status on lint warnings
2 parents df01d22 + c65ba6f commit db3cf51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"coverage": "npm run secrets && ng test --source-map --no-watch --code-coverage",
1818
"coverage:ci": "npm run coverage -- --browsers chrome_headless_no_sandbox",
1919
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:tsc",
20-
"lint:eslint": "eslint ./src --ext .ts",
20+
"lint:eslint": "eslint ./src --ext .ts --max-warnings=0",
2121
"lint:prettier": "prettier . --check",
2222
"lint:tsc": "tsc --noEmit",
2323
"format": "npm run format:prettier && npm run format:eslint",

src/app/share-links/services/share-links-api.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class ShareLinksApiService {
2626
const response = await firstValueFrom(
2727
this.http.get<{ items: ShareLink[] }>(
2828
'v2/share-links',
29-
{ shareTokens: shareTokens },
29+
{ shareTokens },
3030
null,
3131
{
3232
authToken: false,

0 commit comments

Comments
 (0)