diff --git a/README.md b/README.md index 2b6fe7c..8bb77cd 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,19 @@ export default { }; ``` +**Note:** You can pass a relative path to your eslint config file +```js +import { rollup } from "rollup"; +import { eslint } from "rollup-plugin-eslint"; + +export default { + input: "main.js", + plugins: [ + eslint('./path-to-my-eslintconfig') + ] +}; +``` + ## Options See more options here [eslint-config].