@rebeccastevens/eslint-config 3.3.2 → 3.3.3

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/dist/index.cjs CHANGED
@@ -807,7 +807,7 @@ async function functional(options) {
807
807
  "functional/no-throw-statements": "error",
808
808
  "functional/no-try-statements": "error",
809
809
  "functional/no-let": "error",
810
- "functional/no-classes": "error",
810
+ "functional/no-class-inheritance": "error",
811
811
  "functional/no-this-expressions": "error",
812
812
  "functional/no-loop-statements": "error",
813
813
  "functional/immutable-data": "error",
@@ -1341,7 +1341,6 @@ function javascript(options) {
1341
1341
  "grouped-accessor-pairs": "error",
1342
1342
  "guard-for-in": "error",
1343
1343
  "logical-assignment-operators": "error",
1344
- "max-classes-per-file": ["error", 1],
1345
1344
  "max-depth": ["error", 10],
1346
1345
  "new-cap": [
1347
1346
  "error",
@@ -1610,7 +1609,9 @@ function javascript(options) {
1610
1609
  "vars-on-top": "error",
1611
1610
  yoda: ["error", "never"],
1612
1611
  ...(functionalEnforcement === "none"
1613
- ? {}
1612
+ ? {
1613
+ "max-classes-per-file": ["error", 1],
1614
+ }
1614
1615
  : {
1615
1616
  "no-param-reassign": [
1616
1617
  "error",