-
I received a review about trailing comma style (#38608), so I guess we can use ESLint to do it automatically. The current ESLint rules about trailing comma are as follows: Lines 107 to 113 in 36bb31b If we update the rules as follows then - objects: 'only-multiline',
+ objects: 'always-multiline', But it would affect lots of files. I guess these significant changes may need to be fully discussed, so I'd like to ask if there is a corresponding process. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Unfortunately, there is no process. The thing to do is update the rule, run it with |
Beta Was this translation helpful? Give feedback.
Unfortunately, there is no process. The thing to do is update the rule, run it with
--fix
, run the tests to make sure nothing breaks with the changes, and then open a pull request.