Skip to content

Commit

Permalink
Merge pull request #2788 from near/eslint-enhancements
Browse files Browse the repository at this point in the history
feat: linting enhancements
  • Loading branch information
andy-haynes authored Jun 28, 2022
2 parents 10ec960 + 9d048f4 commit 7ef3c82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ pipeline {
steps {
dir("$WORKSPACE/packages/frontend") {
sh 'yarn install --frozen-lockfile'
sh 'yarn lint'
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"fix": "eslint --ext .js --ext .jsx . --fix",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"prepush": "yarn run test",
"precommit": "concurrently \"yarn run fix\" \".githooks/format-json\"",
"prepush": "concurrently \"yarn run test\" \"yarn lint\"",
"precommit": ".githooks/format-json",
"preinstall": "npx only-allow yarn"
},
"browserslist": [
Expand Down

0 comments on commit 7ef3c82

Please sign in to comment.