| Auto-Submit | +1 |
| Commit-Queue | +1 |
Tried out my new lint
noticed the directives weren't sorted.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Tried out my new lint
noticed the directives weren't sorted.
Not all users sort their directives. Are you sure that the fix should assume that the directives need to be sorted? We do have a separate 'sort directives' code action that will sort them if that's what the user wants.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Brian WilkersonTried out my new lint
noticed the directives weren't sorted.
Not all users sort their directives. Are you sure that the fix should assume that the directives need to be sorted? We do have a separate 'sort directives' code action that will sort them if that's what the user wants.
Oh I know! When I applied the lint there were several places where the fix was "weird" because the existing directives were mostly sorted.
I figured I'd see if the compiler folks liked...or not...
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Brian WilkersonTried out my new lint
noticed the directives weren't sorted.
Kevin MooreNot all users sort their directives. Are you sure that the fix should assume that the directives need to be sorted? We do have a separate 'sort directives' code action that will sort them if that's what the user wants.
Oh I know! When I applied the lint there were several places where the fix was "weird" because the existing directives were mostly sorted.
I figured I'd see if the compiler folks liked...or not...
The fact that not all of our own code is sorted strongly suggests to me that that fix should only sort the directives if the `directives_ordering` lint is enabled.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Brian WilkersonTried out my new lint
noticed the directives weren't sorted.
Kevin MooreNot all users sort their directives. Are you sure that the fix should assume that the directives need to be sorted? We do have a separate 'sort directives' code action that will sort them if that's what the user wants.
Brian WilkersonOh I know! When I applied the lint there were several places where the fix was "weird" because the existing directives were mostly sorted.
I figured I'd see if the compiler folks liked...or not...
The fact that not all of our own code is sorted strongly suggests to me that that fix should only sort the directives if the `directives_ordering` lint is enabled.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Fix simple_directive_paths violations in compiler
Also enabled directive ordering, as is common
Removed `use_null_aware_elements` explicitly, since it's in the included set
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |