Skip to content

Commit

Permalink
docs: Update README with FlatCompat options (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Aug 24, 2022
1 parent ffba0c5 commit 2632367
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ The primary class in this package is `FlatCompat`, which is a utility to transla
```js
import { FlatCompat } from "@eslint/eslintrc";

const compat = new FlatCompat();
const compat = new FlatCompat({
baseDirectory: __dirname, // optional; default: process.cwd()
resolvePluginsRelativeTo: __dirname // optional
});

export default [

Expand Down

0 comments on commit 2632367

Please sign in to comment.