sheerun / prettier-standard

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

Encourage using standard in lint-staged #61

Closed fbaiodias closed 5 years ago

fbaiodias commented 6 years ago

Hopefully this will make it a bit more clear that prettier-standard is not a complete replacement of standard, and that you should still use standard if you want to check all the rules.

Should help with issues like https://github.com/sheerun/prettier-standard/issues/53 and https://github.com/sheerun/prettier-standard/issues/17#issuecomment-336444681.

Thanks for creating and maintaining such a useful project!

sheerun commented 6 years ago

the package.json example should be unchanged. also there should be no --fix rule on standard as most fixable rules are whitespace-related and that's already handled by prettier

sheerun commented 5 years ago

This can be done by part of https://github.com/sheerun/prettier-standard/issues/17

Fot now I don't want to recommend using standard --fix without providing good configuration for it (for now it conflicts with whitespace rules of prettier-standard)