Use max-len rule. Code value in the config is default 80 and there's no way to turn it off. Hacking it with length of 420.
https://eslint.org/docs/rules/max-len
https://linear.app/comm/issue/ENG-1083/eslint-rule-for-80-char-width-comments
Differential D3918
[root] [chore] [ENG-1083] update eslint config to enforce comment width to 80 characters • benschac on May 4 2022, 11:16 AM. Authored by Tags None Referenced Files
Details Use max-len rule. Code value in the config is default 80 and there's no way to turn it off. Hacking it with length of 420. https://eslint.org/docs/rules/max-len https://linear.app/comm/issue/ENG-1083/eslint-rule-for-80-char-width-comments you should see errors when running yarn eslint
Diff Detail
Event TimelineComment Actions Discussed offline, this didn't actually do what @benschac thought it did, but he has another idea
|