Integrates the ESLint JavaScript validator with TextMate 2
Use the ESLint JavaScript validator in TextMate 2.
--fix
command.First install ESLint:
npm install --save-dev eslint
[sudo] npm install -g eslint
(Optional) Create a starter ESLint configuration: eslint --init
Now install the bundle:
In most cases no configuration is required. However, in some cases you may want to customize the following:
eslint
that is not on your PATH
: If eslint
is not on your PATH
, set the TM_JAVASCRIPT_ESLINT_ESLINT
variable to point to it. Set in TextMate > Preferences… > Variables.⌘S
:
⌘S
.eslint
automatically uses .eslintrc
and package.json
files found in your directory tree. See the documentation for more information.~/Library/Application Support/TextMate/Pristine Copy/Bundles
.javascript-eslint.tmbundle
.~/Library/Application Support/Avian/Bundles
.JavaScript ESLint.tmbundle
, trash it.~/Library/Caches/com.macromates.TextMate
.