Closed nilshoffmann closed 2 years ago
Prettier fails with a SyntaxError: ',' expected when it encounters an unquoted field name in the form control. Simply quoting all field names fixes the issue. Prettier then keeps or removes the quotes automatically, as needed.
Thanks for this.
The prettier error is probably just a symptom of the problem.
Prettier fails with a SyntaxError: ',' expected when it encounters an unquoted field name in the form control. Simply quoting all field names fixes the issue. Prettier then keeps or removes the quotes automatically, as needed.