Skip to content

Commit 081e628

Browse files
fix: allow assertions statements
1 parent 11883ce commit 081e628

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/plugins/functional.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ export const settings: Linter.Config = {
1515
},
1616

1717
rules: {
18-
"functional/no-expression-statements": "error",
18+
"functional/no-expression-statements": [
19+
"error",
20+
{
21+
ignorePattern: "^assert",
22+
},
23+
],
1924
"functional/immutable-data": [
2025
"error",
2126
{

0 commit comments

Comments
 (0)