This repository has been archived by the owner on Jun 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds cpplint to linter all the c/c++ files. It can be run from `npm test` or directly from `npm run lint`.
- Loading branch information
George Adams
committed
Jan 25, 2017
1 parent
082b370
commit 2e8fd14
Showing
4 changed files
with
242 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,12 +18,15 @@ | |
"Richard Chamberlain <[email protected]> (https://github.com/rnchamberlain)" | ||
], | ||
"scripts": { | ||
"test": "tap test/test*.js" | ||
"test": "npm run lint && npm run tap", | ||
"tap": "tap --timeout 10 test/test*.js", | ||
"lint": "node-cpplint '**/*.cc' '**/*.h'" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/nodejs/nodereport/issues" | ||
}, | ||
"devDependencies": { | ||
"tap": "^8.0.0" | ||
"tap": "^8.0.0", | ||
"node-cpplint": "^0.4.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.