Deprecation of Formatting Rules in ESLint v8.53
Talent30 opened this issue · 5 comments
Hi, @sindresorhus, First of all, thank you for maintaining this amazing project.
ESLint is deprecating all the formatting rules, providing us with two alternatives for migration.
- Remove all the formatting rules in xo. Instead, we recommend users to utilise a code formatter, such as Prettier. This is the recommended approach.
- Migrate all the formatting rules to ESLint Stylistic.
I am happy to help either way.
I plan to go with 2
, but I don't see the point in doing it until ESLint actually hard-deprecates (with runtime warning) or removes the rules. It would be good to let ESLint Stylistic stabilize a bit first.
Close this for now. Will reopen it again when ESLint 9 releases.
I prefer to keep it open so I won't get more duplicates.
Just to add a thought in here: Maybe a noStyle
setting (similar to indent
or semicolon
) would be nice so people can use own formatters easier.
I don't plan any noStyle
setting. There's already a prettier
setting.