@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rules/base.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/oxlint-config",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Wistia's Oxlint configurations",
5
5
  "packageManager": "yarn@4.14.1",
6
6
  "type": "module",
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: stylistic choice best left to formatter
688
- 'eslint/curly': 'off',
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