-
Notifications
You must be signed in to change notification settings - Fork 321
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
Using --eslint option gives an error #171
Comments
I have the same issue when I use eslint configuration in yaml format, I check the cli code, and it seems it only support JSON format: } else if (exports.args.e) {
json = fs.readFileSync(exports.args.e.value).toString();
jshintrc = JSON.parse(util.stripComments(json));
platoOptions.eslint = jshintrc;
} |
The way Plato loads the configuration file is wrong.
|
I think this is more a support issue, as I'm guessing I'm doing something wrong. I have an eslint rc file which runs happily using eslint, but seems to cause issue when combined with Plato. If I use a yml file I get...
If I try a JavaScript version of the config file I get a similar parsing error.
I'm hoping this is a PEBCAK issue! :)
The text was updated successfully, but these errors were encountered: