Option to check for code errors before saving

Created on 3 March 2025, about 1 month ago

We recently had a CSS aggregation issue that stemmed from a formatting issue in one of the CSS styles, specifically a missing closing bracket, which prevented additional styles from being included in the aggregated file.

Is it possible to add an optional setting to prevent saving if there are detected code errors, and auto-scrolling to the first issue with a message like "There are code errors that will prevent proper aggregation. Please resolve the errors before saving." This would be similar to how some forms (including in Drupal) prevent saving when a required field is missing, input is in an incorrect format, etc.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States w01f

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024