Skip to content

Commit 141b558

Browse files
author
Julie Huang
authored
Add linting to CI (#6)
1 parent fddaf6d commit 141b558

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.circleci/config.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ jobs:
2020
root: *workspace
2121
paths:
2222
- .
23-
23+
test_lint:
24+
docker:
25+
- image: *build_image
26+
working_directory: *workspace
27+
steps:
28+
- attach_workspace:
29+
at: *workspace
30+
- run: npm run lint
2431
build:
2532
docker:
2633
- image: *build_image
@@ -43,6 +50,9 @@ workflows:
4350
branches:
4451
ignore:
4552
- master
53+
- test_lint:
54+
requires:
55+
- checkout_code
4656
- build:
4757
name: build_feature
4858
requires:

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/.next/
2+
/.circleci/
3+
/node_modules/
4+
/out/
5+
/public/
6+
/styles/

0 commit comments

Comments
 (0)