Skip to content

Commit 4f93ab0

Browse files
committed
adjust readme
1 parent 86c08b8 commit 4f93ab0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Passing a function as a value for a setting (which some of the settings below re
134134

135135
### `svelte3/ignore-warnings`
136136

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.
138138

139139
The default is to not ignore any warnings.
140140

@@ -152,7 +152,7 @@ If you're using some sort of preprocessor on the component styles, then it's lik
152152

153153
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.
154154

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.
156156

157157
### `svelte3/named-blocks`
158158

0 commit comments

Comments
 (0)