@wistia/eslint-config 0.36.3 → 0.37.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/eslint-config",
3
- "version": "0.36.3",
3
+ "version": "0.37.0",
4
4
  "description": "Wistia's ESLint configurations",
5
5
  "packageManager": "yarn@4.3.1",
6
6
  "main": "react.js",
@@ -39,7 +39,8 @@ module.exports = {
39
39
 
40
40
  // specify curly brace conventions for all control statements
41
41
  // https://eslint.org/docs/rules/curly
42
- curly: ['error', 'multi-line'], // multiline
42
+ // decision: enforce curly braces for all control statements because even the `multiline` option can allow subtle bugs
43
+ curly: ['error', 'all'],
43
44
 
44
45
  // require default case in switch statements
45
46
  // https://eslint.org/docs/rules/default-case