sheerun / prettier-standard

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

[Vue] Standardjs rule `space-before-function-paren` not respected #58

Closed nolde closed 5 years ago

nolde commented 6 years ago

Standardjs determines that "space after function name function name (arg) { ... }" as a rule.

When running that in a Vue file, with vue-plugin-eslint enabled, and space-before-function-paren set to always. it still removes spaces before the parens inside vue single file components.

sheerun commented 5 years ago

prettier-standard 9.0.0 uses just prettierx for formatting so if you'd like to fix this issue you need to contribute to it: https://github.com/brodybits/prettierx

sheerun commented 5 years ago

(or raise this issue there)