Browse files

don't lint logging

  • Loading branch information...
1 parent 8070885 commit 0b170de340c9d1dc7a5eacdfde180a5caf52ba18 Hsiaoming Yang committed Dec 8, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +2 −1 scripts/lint.json
View
2 Makefile
@@ -10,7 +10,7 @@ test:
@node_modules/.bin/mocha --reporter ${reporter} ${specs}
-files := $(shell find . -name '*.js' ! -path "*node_modules/*" ! -path "*dist/*" ! -path "*tests/browser/*")
+files := $(shell find . -name '*.js' ! -path "*node_modules/*" ! -path "*lib/logging.js")
lint:
@node_modules/.bin/jshint ${files} --config=scripts/config-lint.js
View
3 scripts/lint.json
@@ -82,7 +82,8 @@
// Require all non-global variables be declared before they are used.
"funcscope": true,
-
+ // Don't check __proto__
+ "proto": true,
// Personal styling preferences.
"newcap": true,
// Require capitalization of all constructor functions e.g. `new F()`.

0 comments on commit 0b170de

Please sign in to comment.