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
+1-10Lines changed: 1 addition & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
5
5
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [XO](https://github.com/xojs/xo). It will be used with files that have the “JavaScript” syntax.
6
6
7
-
8
7
## Installation
9
8
10
9
SublimeLinter must be installed in order to use this plugin.
@@ -19,13 +18,11 @@ $ npm install --global xo
19
18
20
19
In order for `xo` to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover [troubleshooting PATH configuration](https://sublimelinter.readthedocs.io/en/latest/troubleshooting.html#finding-a-linter-executable).
@@ -46,7 +43,7 @@ For plugins not supported out-of-the-box, you may need to change the SublimeLint
46
43
47
44
### Help, `xo` doesn't lint my HTML files anymore!
48
45
49
-
`xo` will only lint `*.js` files for standard, vanilla config without further plugins. Either install the [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) or tweak the `selector`:
46
+
`xo` will only lint `*.js` files for standard, vanilla config without further plugins. Either install the [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) or tweak the `selector`:
50
47
51
48
```json
52
49
{
@@ -58,12 +55,6 @@ For plugins not supported out-of-the-box, you may need to change the SublimeLint
58
55
}
59
56
```
60
57
61
-
62
58
## Note
63
59
64
60
XO linting is only enabled for projects with `xo` in `devDependencies`/`dependencies` in package.json.
0 commit comments