Skip to content

Commit

Permalink
fix: eslint warnings and fail on warning in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
asartalo committed Aug 28, 2021
1 parent 568ae5e commit 41adad7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: npm install

- name: Lint
run: npx eslint .
run: npx eslint --max-warnings=0 .

- name: Unit Tests
run: npm run test:ci
Expand Down
2 changes: 0 additions & 2 deletions src/pages/main/MainPage.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React from 'react';
import { Link } from 'react-router-dom';
import {
List, ListItem, ListItemText, Container,
Link as MuiLink,
Typography,
Paper,
makeStyles,
Expand Down

0 comments on commit 41adad7

Please sign in to comment.