Skip to content

Commit 397bdf5

Browse files
committed
chore(scripts): linting for CI build
1 parent b9e8795 commit 397bdf5

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ dependencies:
1515

1616
test:
1717
override:
18-
- ./scripts/node-matrix.sh ./scripts/prepare.sh ./scripts/test-unit.sh ./scripts/test-e2e.sh:
18+
- ./scripts/node-matrix.sh ./scripts/prepare.sh ./scripts/lint.sh ./scripts/test-unit.sh ./scripts/test-e2e.sh:
1919
parallel: true

lib/agent/metrics/apm/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ ApmMetrics.prototype._nanoToMilli = function (value) {
111111
return Math.floor(value / NANO_TO_MILLI)
112112
}
113113

114-
115114
ApmMetrics.prototype.getEventLoop = function () {
116115
var stats = eventLoopStats.sense()
117116
return {

scripts/lint.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
source $PROJECT_ROOT/scripts/nvm.sh
4+
5+
nvm use $NODE_VERSION
6+
7+
npm run lint

0 commit comments

Comments
 (0)