Skip to content

Commit 87089ce

Browse files
authored
Eslint in root directory should not lint AuditLogMover code (awslabs#10)
1 parent 8cf51c5 commit 87089ce

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
auditLogMover/

auditLogMover/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
},
2121
"scripts": {
2222
"lint": "eslint . --ext .ts,.tsx",
23+
"build": "tsc",
24+
"release": "yarn run build && yarn run lint && yarn run test",
2325
"test": "jest",
2426
"test-coverage": "jest --coverage"
2527
},

buildspec.build.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ phases:
2424
- yarn run release
2525
- serverless deploy --stage production --region $REGION --verbose
2626
- cd auditLogMover
27+
- yarn run release
2728
- serverless deploy --stage production --region $REGION --verbose
2829
- cd ..
2930
post_build:

0 commit comments

Comments
 (0)