|
2 | 2 |
|
3 | 3 | Use the [ESLint](http://eslint.org/) JavaScript validator in [TextMate 2](https://github.com/textmate/textmate).
|
4 | 4 |
|
5 |
| -<img src="http://natesilva.github.io/javascript-eslint.tmbundle/images/no-errors-2.0.0.png" width="500" style="width:560px;" alt="Screenshot 1"> |
| 5 | +<video autoplay="autoplay" loop="loop" width="366" height="114"> |
| 6 | + <source src="https://natesilva.github.io/javascript-eslint.tmbundle/images/gutter-popup.mp4" type="video/mp4" /> |
| 7 | + <img src="https://natesilva.github.io/javascript-eslint.tmbundle/images/gutter-popup.gif" width="366" height="114" alt="ESLint errors and warnings in the TextMate gutter"></video> |
6 | 8 |
|
7 | 9 | ## Features
|
8 | 10 |
|
9 | 11 | * Validate automatically when you save your file, and on-demand.
|
| 12 | +* Auto-fix errors using the ESLint `--fix` command. |
| 13 | +* Errors and warnings are displayed in the TextMate gutter. |
| 14 | +* Optionally get a report listing errors and warnings with links to the relevant explanations on [eslint.org](http://eslint.org/). |
10 | 15 | * Supports ESLint’s native configuration cascading.
|
11 |
| -* Errors and warnings include a link to the relevant explanation on [eslint.org](http://eslint.org/). |
12 | 16 |
|
13 |
| -<img src="http://natesilva.github.io/javascript-eslint.tmbundle/images/with-errors-2.0.0.png" width="500" style="width:560px;" alt="Screenshot 2"> |
| 17 | +<img src="https://natesilva.github.io/javascript-eslint.tmbundle/images/fix-menu.png" width="300" style="width:300px;" alt="Use ESLint to auto-fix errors and warnings"> |
| 18 | + |
| 19 | +<img src="https://natesilva.github.io/javascript-eslint.tmbundle/images/validation-report.png" width="550" style="width:550px;" alt="Optional validation report"> |
14 | 20 |
|
15 | 21 | ## Install
|
16 | 22 |
|
@@ -44,8 +50,8 @@ In most cases no configuration is required. However, in some cases you may want
|
44 | 50 | ## Uninstall
|
45 | 51 |
|
46 | 52 | 1. Quit TextMate.
|
47 |
| -2. Open `~/Library/Application Support/Avian/Pristine Copy/Bundles`. |
| 53 | +2. Open `~/Library/Application Support/TextMate/Pristine Copy/Bundles`. |
48 | 54 | 3. Trash `javascript-eslint.tmbundle`.
|
49 | 55 | 4. Open `~/Library/Application Support/Avian/Bundles`.
|
50 | 56 | 5. If there is a file called `JavaScript ESLint.tmbundle`, trash it.
|
51 |
| -6. You may need to clear TextMate’s cache by trashing `~/Library/Caches/com.macromates.TextMate.preview`. |
| 57 | +6. You may need to clear TextMate’s cache by trashing `~/Library/Caches/com.macromates.TextMate`. |
0 commit comments