Skip to content
Browse files

docs

  • Loading branch information...
1 parent 3319c26 commit 7d0786ebab6bf6f7433a87964c9f366b0c594d62 @kof committed
Showing with 8 additions and 10 deletions.
  1. +8 −10 readme.md
View
18 readme.md
@@ -58,20 +58,18 @@ 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:
-
+- 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
+- wrapper should talk with validator and on complete call the callback and pass errors array in unified error format
+- see ./lib/linter/jslint.js
+- option for new validator in json should have name
-
{
- "validator-name": {
- //options
- }
- }
+ "validator-name": {
+ "some-option": true
+ }
+ }

0 comments on commit 7d0786e

Please sign in to comment.
Something went wrong with that request. Please try again.