Skip to content

Commit 7e9eb0c

Browse files
fix: improve scripts config
1 parent 9a893de commit 7e9eb0c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/configs/common-overrides.ts

-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ export default {
88
files: ["./*"],
99
extends: ["@rebeccastevens/eslint-config/script"],
1010
rules: {
11-
"functional/functional-parameters": "off",
1211
"functional/immutable-data": "off",
13-
"node/no-sync": "off",
1412
},
1513
},
1614
{

src/configs/script.ts

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ import type { Linter } from "eslint";
22

33
const baseConfig: Linter.Config = {
44
rules: {
5+
"functional/functional-parameters": [
6+
"error",
7+
{
8+
enforceParameterCount: false,
9+
},
10+
],
511
"functional/no-conditional-statements": "off",
612
"functional/no-expression-statements": "off",
713
"functional/no-loop-statements": "off",

0 commit comments

Comments
 (0)