Skip to content

Commit eee8c7d

Browse files
NicolappsConvex, Inc.
authored andcommitted
system-udfs: lint with @convex-dev/eslint-plugin (#42397)
GitOrigin-RevId: 81c1e90ea28d76eda4a6c1f2262e5175c64cf430
1 parent fdb4beb commit eee8c7d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

npm-packages/common/config/rush/pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm-packages/system-udfs/eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import eslint from "@eslint/js";
44
import reactHooks from "eslint-plugin-react-hooks";
55
import react from "eslint-plugin-react";
66
import tseslint, { parser as tsParser } from "typescript-eslint";
7+
import convexPlugin from "@convex-dev/eslint-plugin";
78

89
import { fileURLToPath } from "node:url";
910
import { dirname, join } from "node:path";
@@ -26,6 +27,7 @@ const compat = new FlatCompat({
2627
export default defineConfig([
2728
eslint.configs.recommended,
2829
tseslint.configs.recommended,
30+
...convexPlugin.configs.recommended,
2931
{
3032
languageOptions: {
3133
parser: tsParser,

npm-packages/system-udfs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"udf-syscall-ffi": "workspace:*"
2626
},
2727
"devDependencies": {
28+
"@convex-dev/eslint-plugin": "workspace:*",
2829
"@eslint/compat": "~1.3.0",
2930
"@eslint/eslintrc": "~3.3.0",
3031
"@eslint/js": "~9.34.0",

0 commit comments

Comments
 (0)