Fixes formatting error in the rules.md table (dart-lang/lints#206)

* Fixes formatting error in the rules.md table

The content after the rule `invalid_runtime_check_with_js_interop_types` was not formatted in a table due to syntax error

* Fix multiline descriptions formatting in markdown generation

- Updated the `_createRuleTableRow` function to properly handle multiline descriptions by replacing line breaks with spaces
- Trimmed leading/trailing whitespace and reduced consecutive spaces to a single space
- This ensures that the generated markdown table rows in rules.md are correctly formatted, preventing description content from breaking across lines or having inconsistent spacing
2 files changed
tree: 473beb4ae6ba6cccd474f312eb531d2792a924dd
  1. pkgs/