You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/no-inner-declarations.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ since: "v0.0.8"
16
16
17
17
This rule requires that function declarations and, optionally, variable declarations be in the root of a program or the body of a function.
18
18
19
-
This rule extends the base ESLint's [no-inner-declarations] rule. The AST generated by [svelte-eslint-parser] will false positives in [no-inner-declarations] rule because the root node of the script is not the `Program`.\
19
+
This rule extends the base ESLint's [no-inner-declarations] rule. The AST generated by [svelte-eslint-parser] will false positives in [no-inner-declarations] rule because the root node of the script is not the `Program`.
Copy file name to clipboardExpand all lines: docs/rules/no-not-function-handler.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ since: "v0.5.0"
14
14
15
15
## :book: Rule Details
16
16
17
-
This rule reports where you used not function value in event handlers.\
17
+
This rule reports where you used not function value in event handlers.
18
18
If you use a non-function value for the event handler, it event handler will not be called. It's almost always a mistake. You may have written a lot of unnecessary curly braces.
Copy file name to clipboardExpand all lines: docs/rules/no-object-in-text-mustaches.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ since: "v0.5.0"
14
14
15
15
## :book: Rule Details
16
16
17
-
This rule disallows the use of objects in text mustache interpolation.\
17
+
This rule disallows the use of objects in text mustache interpolation.
18
18
When you use an object for text interpolation, it is drawn as `[object Object]`. It's almost always a mistake. You may have written a lot of unnecessary curly braces.
Copy file name to clipboardExpand all lines: docs/user-guide.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ See also <https://github.com/ota-meshi/svelte-eslint-parser#readme>.
140
140
141
141
You can change the behavior of this plugin with some settings.
142
142
143
-
-`ignoreWarnings` (optional) ... Specifies an array of rules that ignore reports in the template.\
143
+
-`ignoreWarnings` (optional) ... Specifies an array of rules that ignore reports in the template.
144
144
For example, set rules on the template that cannot avoid false positives.
145
145
-`compileOptions` (optional) ... Specifies options for Svelte compile. Effects rules that use Svelte compile. The target rules are [svelte/valid-compile](./rules/valid-compile.md) and [svelte/no-unused-svelte-ignore](./rules/no-unused-svelte-ignore.md). **Note that it has no effect on ESLint's custom parser**.
146
146
-`postcss` (optional) ... Specifies options related to PostCSS. You can disable the PostCSS process by specifying `false`.
0 commit comments