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
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,19 @@ npm install -g eslint
23
23
npm install -D eslint
24
24
```
25
25
26
+
## Quick Fixes
27
+
28
+
`eslint` provides fixes for some errors. These fixes are available in SublimeLinter as quick actions. See the Command Palette: `SublimeLinter: Quick Action`. (Also: https://github.com/SublimeLinter/SublimeLinter#quick-actionsfixers)
29
+
30
+
You may want to define a key binding:
31
+
32
+
```
33
+
// To trigger a quick action
34
+
{ "keys": ["ctrl+k", "ctrl+f"],
35
+
"command": "sublime_linter_quick_actions"
36
+
},
37
+
```
38
+
26
39
## Using eslint with plugins (e.g. vue)
27
40
28
41
SublimeLinter will detect _some_ installed **local** plugins, and thus it should work automatically for e.g. `.vue` or `.ts` files. If it works on the command line, there is a chance it works in Sublime without further ado.
0 commit comments