Skip to content

Commit 0c65c62

Browse files
docs: don't pass filename when linting rule examples (#19571)
Co-authored-by: Nitin Kumar <snitin315@gmail.com>
1 parent 76064a6 commit 0c65c62

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

docs/tools/prism-eslint-hook.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ function installPrismESLintMarkerHook() {
146146
// Remove trailing newline and presentational `⏎` characters
147147
docsExampleCodeToParsableCode(code),
148148
config,
149-
{ filename: "code.js" },
150149
);
151150

152151
if (lintMessages.some(m => m.fatal)) {

0 commit comments

Comments
 (0)