Skip to content

Commit

Permalink
enable eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelbeltran committed Jun 4, 2024
1 parent 892be0b commit 5f26c3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aws-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
working-directory: ./aws-lambda
- run: npm test
working-directory: ./aws-lambda
# - run: npm run eslint
# working-directory: ./aws-lambda
- run: npm run eslint
working-directory: ./aws-lambda

# TODO: Setup eslint and prettier for AWS Lambda project
2 changes: 2 additions & 0 deletions aws-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"main": "build/raygun.aws.js",
"types": "build/raygun.aws.d.ts",
"scripts": {
"//eslint": "performs static analysis over project files and examples",
"eslint": "eslint --fix lib/*.ts test/*.js",
"//prepare": "prepare project for distribution",
"prepare": "tsc",
"//test": "runs tests on main project",
Expand Down

0 comments on commit 5f26c3c

Please sign in to comment.