eslint-config-heck 1.8.0 → 1.9.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.
Files changed (2) hide show
  1. package/node.js +6 -1
  2. package/package.json +1 -1
package/node.js CHANGED
@@ -641,7 +641,12 @@ const rules = {
641
641
  allowGlobals: false,
642
642
  },
643
643
  ],
644
- "react/jsx-no-useless-fragment": "error",
644
+ "react/jsx-no-useless-fragment": [
645
+ "error",
646
+ {
647
+ allowExpressions: true,
648
+ },
649
+ ],
645
650
  "react/jsx-one-expression-per-line": "error",
646
651
  "react/jsx-pascal-case": "error",
647
652
  "react/jsx-props-no-multi-spaces": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "main": "index.js",
6
6
  "scripts": {