Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eslint: Restore curly rule when using prettier
The `curly` eslint rule was disabled when using prettier. Some configurations of the rule may conflict with prettier's autoformatting, but the `all` option used in @wordpress/eslint-plugin does not. This aligns with the WordPress JavaScript Standards: > `if`, `else`, `for`, `while`, and `try` blocks should always use > braces, and always go on multiple lines. - WordPress JavaScript Standards: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/javascript/#blocks-and-curly-braces - `curly` rule description: https://eslint.org/docs/latest/rules/curly#rule-details Co-authored-by: sirreal <jonsurrell@git.wordpress.org> Co-authored-by: gziolo <gziolo@git.wordpress.org> Co-authored-by: swissspidy <swissspidy@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
- Loading branch information