Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "mocha" to the "env" list of .esltinrc #195

Closed
louisremi opened this issue Mar 8, 2016 · 1 comment
Closed

Add "mocha" to the "env" list of .esltinrc #195

louisremi opened this issue Mar 8, 2016 · 1 comment

Comments

@louisremi
Copy link

Hi,

My editor is configured to automatically lint all files when an .eslintrc file is present, and files in the test/ dir don't validate because mocha isn't listed as en environment in the .eslintrc
I wish I could've made a PR to propose that change, but I couldn't locate the template for this file.

@weblogixx
Copy link
Member

Hi @louisremi,

I have just added this feature in a new release. It should work now for newly generated projects.
The code you are looking for is located in https://github.com/weblogixx/react-webpack-template. This is the standalone version of the webpack config used by the generator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants