Skip to content

babel-eslint support #1

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

Closed
mysticatea opened this issue Dec 15, 2016 · 2 comments
Closed

babel-eslint support #1

mysticatea opened this issue Dec 15, 2016 · 2 comments

Comments

@mysticatea
Copy link
Member

Currently, vue-eslint-parser is using the default parser (espree).
It needs the capability to use custom parsers to parse <script> element.

For example:

{
    "parser": "vue-eslint-parser",
    "parserOptions": {
        "vue-eslint-parser": {
            "parser": "babel-eslint"
        },
        "sourceType": "module",
        "ecmaVersion": 2017
    }
}
@mysticatea mysticatea self-assigned this Dec 15, 2016
@mysticatea
Copy link
Member Author

Known limitations: it cannot support relative paths for the parser option. vue-eslint-parser cannot know the location of the .eslintrc.* file which has the option.

@mysticatea
Copy link
Member Author

Closed by b16a6c1

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

No branches or pull requests

1 participant