Closed kvz closed 5 years ago
prettier-standard 9.0.0 has been released that respects only .prettierrc config and ignores .eslintrc
this is because prettier-standard 9 no longer passes code though eslint --fix, instead it uses just prettierx for formatting
@sheerun prettierx
allows overriding of some rules e.g. Space before function parentheses
, is it possible to do in prettier-standard
?
I think you can use .prettierrc
I stumbled upon the same issue, does that mean that the docs are outdated?
.eslintrc is for linting rules, .prettierrc is for whitespace rules
Hi, thanks for this project, very needed! :)
I like my commas dangling but this rule (and others, e.g. vertical alignment around colons) seem to not be respected anymore.
Relevant config in
.eslintrc
:Running the command as
"fix:js": "DEBUG=eslint:cli-engine prettier-standard '**/*.js'",
Got my
devDependencies
as suchAnd a source example that has it's trailing commas removed would be:
Any idea what I am doing wrong?