We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Do you want to request a feature or report a bug? report a bug
What is the current/expected behavior?
arrow-parens
success => {}
(success) => {}
plugin:prettier/recommended
[eslint prettier/prettier] [E] Replace `(success)` with `success`
What version of vim-prettier are you using - (output of :PrettierVersion) ? 1.0.0-beta
vim-prettier
:PrettierVersion
What version of prettier are you using - (output of :PrettierCliVersion) ? 1.19.1^@
prettier
:PrettierCliVersion
What is your prettier executable path - (output of :PrettierCliPath) ? /Users/username/Sites/project/src/www/frontend/node_modules/.bin/prettier
:PrettierCliPath
Did this work in previous versions of vim-prettier and/or prettier ?
The text was updated successfully, but these errors were encountered:
I'm also getting this.
Sorry, something went wrong.
Prettier arrow function parentheses v1.9.* and below defaults to "avoid", but v2.0.0 default to "always"
vim-prettier defaults to "always" no matter the version. You can update the default prettier config with: let g:prettier#config#arrow_parens = 'avoid'
let g:prettier#config#arrow_parens = 'avoid'
No branches or pull requests
Do you want to request a feature or report a bug?
report a bug
What is the current/expected behavior?
arrow-parens
.success => {}
. but prettier is changing it to(success) => {}
and I'm getting an error fromplugin:prettier/recommended
, I guess.[eslint prettier/prettier] [E] Replace `(success)` with `success`
.What version of
vim-prettier
are you using - (output of:PrettierVersion
) ?1.0.0-beta
What version of
prettier
are you using - (output of:PrettierCliVersion
) ?1.19.1^@
What is your
prettier
executable path - (output of:PrettierCliPath
) ?/Users/username/Sites/project/src/www/frontend/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
The text was updated successfully, but these errors were encountered: