sheerun / prettier-standard

Formats with Prettier and lints with ESLint+Standard! (✿◠‿◠)
MIT License
868 stars 44 forks source link

Allow overriding `parser` option in `.eslintrc` #112

Open protometa opened 3 years ago

protometa commented 3 years ago

You can override linting defaults with a custom .eslintrc file but setting the parser field has no effect.

I'm getting typescript parse errors on prettier-standard --lint with valid typescript (possibly because this is using the deprecated babel-eslint parser, but that's another issue). It would be easy to mitigate by specifying parser: '@typescript-eslint/parser' in my .eslintrc, but that has no effect.