Skip to content

Commit 2f16998

Browse files
committed
fix: disable no-self-assign rule
1 parent 495218b commit 2f16998

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/configs/base.ts

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export = {
88
// ESLint core rules known to cause problems with `.svelte`.
99
"no-inner-declarations": "off", // The AST generated by svelte-eslint-parser will false positives in it rule because the root node of the script is not the `Program`.
1010
// "no-irregular-whitespace": "off",
11+
// Self assign is one of way to update reactive value in Svelte.
12+
"no-self-assign": "off",
1113

1214
// eslint-plugin-svelte rules
1315
"svelte/comment-directive": "error",

0 commit comments

Comments
 (0)