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: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ Passing a function as a value for a setting (which some of the settings below re
134
134
135
135
### `svelte3/ignore-warnings`
136
136
137
-
This setting can be given a function that indicates whether to ignore a warning in the linting. The function will be passed a warning object and should return a boolean. Only warnings of the Svelte compiler itself can be filtered out through this function. Regular ESLint rules are configured/disabled through the corresponding ESLint settings.
137
+
This setting can be given a function that indicates whether to ignore a warning in the linting. The function will be passed a warning object and should return a boolean. Only warnings from the Svelte compiler itself can be filtered out through this function. Regular ESLint rules are configured/disabled through the corresponding ESLint settings.
138
138
139
139
The default is to not ignore any warnings.
140
140
@@ -152,7 +152,7 @@ If you're using some sort of preprocessor on the component styles, then it's lik
152
152
153
153
This setting can be given a function that accepts an object of attributes on a `<style>` tag (like that passed to a Svelte preprocessor) and returns whether to ignore the style block for the purposes of linting.
154
154
155
-
The default is to not ignore any styles.
155
+
The default is to ignore styles when the `<style>` tag has a `lang=` or `type=` attribute.
0 commit comments