Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Update readme (#129) #130

Merged
merged 1 commit into from
Dec 7, 2016
Merged

Update readme (#129) #130

merged 1 commit into from
Dec 7, 2016

Conversation

hinok
Copy link
Contributor

@hinok hinok commented Dec 6, 2016

Add information about eslint behaviour when configFile
is set directly.

@@ -100,6 +100,21 @@ module.exports = {
}
```

If you use `webpack 2.x`, you have to pass options object to `eslint-loader` by using `LoaderOptionsPlugin` ([webpack 2/docs](https://webpack.js.org/guides/migrating/#loaderoptionsplugin-context)).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not supposed to be necessary. eslint-loader already support options from query. Can you double check and remove this?

Add information about eslint behaviour when configFile
is set directly.
@hinok
Copy link
Contributor Author

hinok commented Dec 7, 2016

@MoOx Sorry for that. I updated PR.

I thought that LoaderOptionsPlugin is the only way to pass options to eslint-loader but you are right query or options can be also used here (source webpack2/docs).

@MoOx
Copy link
Contributor

MoOx commented Dec 7, 2016

query can even be used in webpack 1 ;)

@MoOx MoOx merged commit dcdb4ad into webpack-contrib:master Dec 7, 2016
@hinok hinok deleted the update-readme branch December 7, 2016 11:16
deryni added a commit to deryni/eslint-loader that referenced this pull request Dec 15, 2016
* MoOx/master:
  README: Add information about eslint behaviour when configFile is set directly (webpack-contrib#129) (webpack-contrib#130)
  Add clarifying note to README (webpack-contrib#127)
  Removed test.only so that all tests will run (webpack-contrib#125)
  1.6.1
  Fixed: multiples config per instance are now supported (webpack-contrib#123)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants