Skip to content

Commit 181cf52

Browse files
committed
allow trailingSlash in valid-prop-names-in-kit-pages
1 parent 09b35ad commit 181cf52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/valid-prop-names-in-kit-pages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { TSESTree } from "@typescript-eslint/types"
33
import { createRule } from "../utils"
44
import { isKitPageComponent } from "../utils/svelte-kit"
55

6-
const EXPECTED_PROP_NAMES = ["data", "errors"]
6+
const EXPECTED_PROP_NAMES = ["data", "errors", "trailingSlash"]
77

88
export default createRule("valid-prop-names-in-kit-pages", {
99
meta: {

0 commit comments

Comments
 (0)