Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

neutrino.custom.eslintrc in lint presets don't output correct eslintrc json #64

Closed
timothyquach opened this issue Feb 26, 2017 · 1 comment · Fixed by #68
Closed

neutrino.custom.eslintrc in lint presets don't output correct eslintrc json #64

timothyquach opened this issue Feb 26, 2017 · 1 comment · Fixed by #68

Comments

@timothyquach
Copy link

I've tried getting neutrino linting presets to output hints to vscode and found some bugs.
neutrino.custom.eslintrc throws an exception because a global is undefined and assumes options.envs is an array of objects.

@eliperelman
Copy link
Member

According to the docs, the rc file doesn't take envs like CLIEngine, but env, which is an object of environments to enable.

http://eslint.org/docs/user-guide/configuring

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

Successfully merging a pull request may close this issue.

2 participants