@wistia/oxlint-config 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/base.mjs +2 -2
package/package.json
CHANGED
package/rules/base.mjs
CHANGED
|
@@ -684,8 +684,8 @@ export const baseRules = {
|
|
|
684
684
|
|
|
685
685
|
// Require following curly brace conventions
|
|
686
686
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/curly.html
|
|
687
|
-
// Decision:
|
|
688
|
-
'eslint/curly': '
|
|
687
|
+
// Decision: enforce curly braces for all control statements because even the `multiline` option can allow subtle bugs
|
|
688
|
+
'eslint/curly': ['error', 'all'],
|
|
689
689
|
|
|
690
690
|
// Require function names to match the name of the variable or property to which they are assigned
|
|
691
691
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/func-name-matching.html
|