mirror of https://github.com/grpc/grpc-node.git
Added lint script
This commit is contained in:
parent
3e23167b01
commit
c16a9bdcee
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"bitwise": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"esnext": true,
|
||||
"freeze": true,
|
||||
"immed": true,
|
||||
"indent": 2,
|
||||
"latedef": "nofunc",
|
||||
"maxlen": 100,
|
||||
"newcap": true,
|
||||
"node": true,
|
||||
"noarg": true,
|
||||
"quotmark": "single",
|
||||
"strict": true,
|
||||
"trailing": true,
|
||||
"undef": true,
|
||||
"unused": true,
|
||||
"globals": {
|
||||
/* Mocha-provided globals */
|
||||
"describe": false,
|
||||
"it": false,
|
||||
"before": false,
|
||||
"beforeEach": false,
|
||||
"after": false,
|
||||
"afterEach": false
|
||||
}
|
||||
}
|
|
@ -3,10 +3,12 @@
|
|||
"version": "0.2.0",
|
||||
"description": "gRPC Library for Node",
|
||||
"scripts": {
|
||||
"lint": "jshint src test examples interop index.js",
|
||||
"test": "./node_modules/mocha/bin/mocha"
|
||||
},
|
||||
"dependencies": {
|
||||
"bindings": "^1.2.1",
|
||||
"jshint": "^2.5.5",
|
||||
"nan": "~1.3.0",
|
||||
"protobufjs": "murgatroid99/ProtoBuf.js",
|
||||
"underscore": "^1.7.0",
|
||||
|
|
Loading…
Reference in New Issue