Enable @stylistic/no-trailing-spaces rule (#18060)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-10-12 21:24:05 +08:00
1 parent 160288e1aa
commit 1b9c98269e
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -153,6 +153,7 @@ const configs = [
},
],
"@stylistic/spaced-comment": "error",
"@stylistic/no-trailing-spaces": "error",
/* @typescript-eslint/eslint-plugin */
"@typescript-eslint/prefer-ts-expect-error": "error",
+1 -1
View File
@@ -6,7 +6,7 @@ import createGetVisitorKeysFunction from "./create-get-visitor-keys-function.js"
* following ways:
*
* { "cursorNode": <node> } - the cursor is WITHIN <node>
*
* { "nodeBeforeCursor": <node1> | undefined,
* "nodeAfterCursor": <node2> | undefined }
* - the cursor is BETWEEN <node1> and <node2>. `undefined` represents the