Logotype icon
DocsPlayground
LoginRegister
eslint linter icon
javascript support icontypescript support iconangular support iconreact support iconsvelte support iconvue support icon

Fix with

curly

Enforce consistent brace style for all control statements

docs/rules/curly

eslint

eslint-plugin-unicorn

stylistic

stylistic-plus

arrow-body-style
capitalized-comments
curly
dot-notation
eqeqeq
logical-assignment-operators
no-array-constructor
no-div-regex
no-else-return
no-extra-bind
no-extra-boolean-cast
no-extra-label
no-implicit-coercion
no-lonely-if
no-regex-spaces
no-undef-init
no-unneeded-ternary
no-unused-labels
no-useless-computed-key
no-useless-rename
no-useless-return
no-var
object-shorthand
one-var
operator-assignment
prefer-arrow-callback
prefer-const
prefer-destructuring
prefer-exponentiation-operator
prefer-numeric-literals
prefer-object-has-own
prefer-object-spread
prefer-template
sort-imports
sort-vars
strict
unicode-bom
yoda
Logotype icon

Flintable

v2.0.0

Write code your way.

© 2025 - All rights reserved

Links

PlaygroundDocsFlint

Legal

Terms of usePrivacy policy

Made with

Capsules Codes logotype icon

by Capsules Codes