natesilva / javascript-eslint.tmbundle

Integrates the ESLint JavaScript validator with TextMate 2
BSD 3-Clause "New" or "Revised" License
46 stars 11 forks source link
eslint javascript-eslint javascript-validation textmate

JavaScript ESLint TextMate Bundle

Use the ESLint JavaScript validator in TextMate 2.

Features

Use ESLint to auto-fix errors and warnings Optional validation report

Install

First install ESLint:

(Optional) Create a starter ESLint configuration: eslint --init

Now install the bundle:

  1. Download the latest release .zip file.
  2. Extract it and double-click to install in TextMate.

Release Notes

View the release notes.

Configuration

In most cases no configuration is required. However, in some cases you may want to customize the following:

Uninstall

  1. Quit TextMate.
  2. Open ~/Library/Application Support/TextMate/Pristine Copy/Bundles.
  3. Trash javascript-eslint.tmbundle.
  4. Open ~/Library/Application Support/Avian/Bundles.
  5. If there is a file called JavaScript ESLint.tmbundle, trash it.
  6. You may need to clear TextMate’s cache by trashing ~/Library/Caches/com.macromates.TextMate.