Skip to content

Using --eslint option gives an error #171

@chooban

Description

@chooban

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...

$ plato -d report/ --eslint .eslintrc.yml lib/**
undefined:1
rules:
^
SyntaxError: Unexpected token r
    at Object.parse (native)
    at Object.exports.exec(...\node_modules\plato\lib\cli.js:49:21)
    at Object.<anonymous>(...\node_modules\plato\bin\plato:19:5)

If I try a JavaScript version of the config file I get a similar parsing error.

I'm hoping this is a PEBCAK issue! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions