-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
Description
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.