Skip to content

Commit

Permalink
update readme with new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
billybonks committed Jul 11, 2016
1 parent 0107188 commit ff862d7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -32,6 +32,7 @@ the default output will be the same SCSS files, in the same tree structure.

Instead of receiving a tree of scss files, the plugin will output a tree of test files


**original tree**
```
.
@@ -70,9 +71,16 @@ Hash as specified by [stylelint](https://github.com/stylelint/stylelint/blob/mas

doesn't accept `files` option

`onError` {function}
`onError(errors)` {function}

A hook that allows you to do whatever you want, when an error occurs
- errors `array of errors`

`testGenerator(relativePath, errors)` {function}

A hook that allows you to do whatever you want
A hook that allows you generate tests.
- relativePath `path of currently linted file`
- errors `array of errors if null then no errors occured`

`testFailingFiles` {boolean}

0 comments on commit ff862d7

Please sign in to comment.