You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, this tool has been advocated in the community as a replacement for Prettier. We have been using ESLint+Prettier (through the VSCode extensions + project configs) and now considering dropping the strict Prettier due to compatibility issues. Assuming our goal is to use eslint-stylistic to auto-format our code, this raises two questions:
The common use case is that Prettier formats files on save, and ESLint lints on typing. Is it possible to maintain this behavior where style rules are only applied on save.
Some of our team is using ESLint in a non-intrusive way, i.e. without applying ESLint auto-fixes type or save events. Should ESLint Stylistic require to enable automatic ESLint fixing, is it possible to enable that only for ESLint Stylistic rules and not for all ESLint rules?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, this tool has been advocated in the community as a replacement for Prettier. We have been using ESLint+Prettier (through the VSCode extensions + project configs) and now considering dropping the strict Prettier due to compatibility issues. Assuming our goal is to use
eslint-stylistic
to auto-format our code, this raises two questions:Thanks
Beta Was this translation helpful? Give feedback.
All reactions