@rebeccastevens/eslint-config 1.6.4 → 1.6.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.
@@ -10,9 +10,7 @@ var commonOverrides = {
10
10
  files: ["./*"],
11
11
  extends: ["@rebeccastevens/eslint-config/script"],
12
12
  rules: {
13
- "functional/functional-parameters": "off",
14
13
  "functional/immutable-data": "off",
15
- "node/no-sync": "off",
16
14
  },
17
15
  },
18
16
  {
@@ -8,9 +8,7 @@ var commonOverrides = {
8
8
  files: ["./*"],
9
9
  extends: ["@rebeccastevens/eslint-config/script"],
10
10
  rules: {
11
- "functional/functional-parameters": "off",
12
11
  "functional/immutable-data": "off",
13
- "node/no-sync": "off",
14
12
  },
15
13
  },
16
14
  {
package/dist/script.cjs CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  const baseConfig = {
4
4
  rules: {
5
+ "functional/functional-parameters": [
6
+ "error",
7
+ {
8
+ enforceParameterCount: false,
9
+ },
10
+ ],
5
11
  "functional/no-conditional-statements": "off",
6
12
  "functional/no-expression-statements": "off",
7
13
  "functional/no-loop-statements": "off",
package/dist/script.mjs CHANGED
@@ -1,5 +1,11 @@
1
1
  const baseConfig = {
2
2
  rules: {
3
+ "functional/functional-parameters": [
4
+ "error",
5
+ {
6
+ enforceParameterCount: false,
7
+ },
8
+ ],
3
9
  "functional/no-conditional-statements": "off",
4
10
  "functional/no-expression-statements": "off",
5
11
  "functional/no-loop-statements": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"