Skip to content

Got issue on standard config. Should add @babel/eslint-parser #930

Closed

Description

@fahimfaisaal

There an issue on using PrivateClassFeatures in standard js, cause it's can't recognize the # private symbol and throw to me this error:

$ yarn standard --fix
yarn run v1.22.17
$ C:\Users\Maxell\Desktop\Javascript\node_modules\.bin\standard --fix
standard: Use JavaScript Standard Style (https://standardjs.com)
  C:\Users\Maxell\Desktop\Javascript\Cache\LFUCache.js:27:5: Parsing error: Unexpected character '#'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

From standard doc we should use the @babel/eslint-parser plugin to fix it.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingin progressBeing worked on

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions