Skip to content

Commit 7bfffee

Browse files
committed
chore(lint): drop removed prefer-arrow-callback rule
oxlint 1.63 removed prefer-arrow-callback from the eslint plugin. With the deps bump in this branch (oxlint 1.56 -> 1.63), the rule no longer resolves and `pnpm check` errors out before linting any files.
1 parent c5d5a7f commit 7bfffee

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

website/.oxlintrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
// testing this for pure functions
2020
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],
21-
"prefer-arrow-callback": "error",
2221

2322
// JavaScript allows the omission of curly braces when a block contains only one statement. However, it is considered by many to be best practice to never omit curly braces around blocks, even when they are optional, because it can lead to bugs and reduces code clarity. So the following:
2423
"curly": ["error", "all"],

0 commit comments

Comments
 (0)