Skip to content

Commit

Permalink
Document all Node API options
Browse files Browse the repository at this point in the history
Fixes: #640
  • Loading branch information
feross committed Sep 26, 2016
1 parent a8b2f78 commit 5abf020
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,10 +568,13 @@ Lint the provided `files` globs. An `opts` object may be provided:

```js
var opts = {
globals: [], // global variables to declare
parser: '', // custom js parser (e.g. babel-eslint)
ignore: [], // file globs to ignore (has sane defaults)
cwd: '' // current working directory (default: process.cwd())
cwd: '', // current working directory (default: process.cwd())
fix: false, // automatically fix problems
globals: [], // global variables to declare
plugins: [], // eslint plugins
envs: [], // eslint environment
parser: '' // js parser (e.g. babel-eslint)
}
```

Expand Down

0 comments on commit 5abf020

Please sign in to comment.