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
{{ message }}
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
Fixes formatting error in the rules.md table (#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
|[`exhaustive_cases`](https://dart.dev/lints/exhaustive_cases)| Define case clauses for all constants in enum-like classes. | ✅ |
60
60
|[`implementation_imports`](https://dart.dev/lints/implementation_imports)| Don't import implementation files from another package. ||
61
-
| [`invalid_runtime_check_with_js_interop_types`](https://dart.dev/lints/invalid_runtime_check_with_js_interop_types) | Avoid runtime type tests with JS interop types where the result may not
62
-
be platform-consistent. | |
61
+
|[`invalid_runtime_check_with_js_interop_types`](https://dart.dev/lints/invalid_runtime_check_with_js_interop_types)| Avoid runtime type tests with JS interop types where the result may not be platform-consistent. ||
63
62
|[`library_prefixes`](https://dart.dev/lints/library_prefixes)| Use `lowercase_with_underscores` when specifying a library prefix. ||
64
63
|[`library_private_types_in_public_api`](https://dart.dev/lints/library_private_types_in_public_api)| Avoid using private types in public APIs. ||
65
64
|[`no_leading_underscores_for_library_prefixes`](https://dart.dev/lints/no_leading_underscores_for_library_prefixes)| Avoid leading underscores for library prefixes. | ✅ |
0 commit comments