wesbos / eslint-config-wesbos

No-Sweat™ Eslint and Prettier Setup - with or without VS Code
2.74k stars 419 forks source link

Stop editor formatting on save for .jsx files #15

Closed vpicone closed 5 years ago

vpicone commented 5 years ago

The editor still attempts to format on save for JSX even when it's disabled via prettier.disableLanguages. Unfortunately you can't have multiple languages for language-specific rules.

Explicitly disabling formatOnSave for javascriptreact fixes this issue.

wesbos commented 5 years ago

thanks :)