Permalink
Browse files

docs

  • Loading branch information...
1 parent 4e685a5 commit 87863e133bcd10748e78e36819e8d5dc68ad4cde @kof committed Dec 28, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 readme.md
View
@@ -58,12 +58,14 @@ Errors array passed to callback contains objects in this format:
- put the linter into ./deps/litner-name
- write a wrapper for it and put it into ./lib/linter/linter-name.js
- wrapper should implement one function:
+
module.exports = function(file, options, callback){
};
- wrapper should talk with validator and on complete call the callback and pass errors array in unified error format
- see ./lib/linter/jslint.js
- options for this validator in json should be named
+
{
"validator-name": {
//options

0 comments on commit 87863e1

Please sign in to comment.