Skip to content

Commit 13cdc2e

Browse files
committed
update readme
1 parent e882cc7 commit 13cdc2e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ An ESLint plugin for Svelte v3 components.
88
- Variable references in your template or in store auto-subscriptions are handled when linting for unused variables
99
- Self-assignments are always allowed, as this is an official pattern for manually triggering reactive updates
1010
- Unused labels called `$` are always allowed, as this is the syntax for reactive assignments
11+
- Experimental opt-in linting of template expressions in addition to the script blocks
1112

1213
## Installation
1314

@@ -79,6 +80,14 @@ This can be `true` or `false` or a function that accepts an object of attributes
7980

8081
The default is to not ignore any styles.
8182

83+
### `svelte3/lint-template`
84+
85+
**Experimental! Requires at least Svelte 3.2.0!**
86+
87+
This can be `true` or `false` or a function that accepts a file path and returns whether this plugin should also lint its template expressions.
88+
89+
The default is to not lint any expressions in the template.
90+
8291
## Using the CLI
8392

8493
It's probably a good idea to make sure you can lint from the command line before proceeding with configuring your editor.

0 commit comments

Comments
 (0)