Skip to content
Textmate bundle for linting your JavaScript files with ESLint
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Commands Fix for #5. Nov 20, 2019
Support Fix for #5. Nov 20, 2019
node_modules Fix #3 "Add `TM_eslint_disable_on_save` Option" Oct 24, 2017
.gitignore Feature: access issues from HTML window via keyboard number keys. Add… Jul 11, 2016
.npmrc Initial commit. Jul 8, 2016
LICENSE Adding license. Jul 8, 2016 Fix for #7. Nov 19, 2019
info.plist Fix info.plist email address. Jan 16, 2018
package.json Fix for #7. Nov 19, 2019

ESLint Bundle for Textmate

Lint your JavaScript files with ESLint.

Download latest version.


  • Uses your project's eslint package. This enables you to lint with the version of ESLint specific to each project.

  • Configurable per project via .tm_properties.

  • Lints every time you save the current document and shows errors via an unobtrusive tooltip. No tooltip is shown for warnings.

  • Lint the current document with the shortcut ⌃L to see the expanded view, which includes:

    • ESLint version
    • path to current document
    • issue severity ("warn" ⚠️ vs. "error" 🚫️)
    • link to documentation for rule related to the reported issue
    • link to focus cursor to the line and column where to the reported issue


  • NodeJS >= v6.x.x is installed.

  • PATH variable in Textmate > Preferences > Variables should be enabled and properly configured to include /usr/bin (the plugin looks for the node executable via #!/usr/bin/env node).

  • ESLint installed your project's node_modules directory (see TM_eslint_path option)

  • For ESLint versions < 3.1.0, there must be an .eslintrc* file in your project's root (see #6605).


  • ⌃L: Lint lints current document and shows issues in new window.

  • ⌘S: Lint on Save lints current document shows issues in a tooltip.

  • ^H: Help Shows in new window.


TextMate will look for a .tm_properties file in the project's root directory and in any parent folders (up to the user’s home folder). You can use the following properties to customize ESLint.


  • Type: String
  • Default: ./node_modules/eslint

Path to eslint package. Must include a "package.json" file.


TM_eslint_path = './path/to/node_modules/eslint'


  • Type: String
  • Default: null

Path to the configuration file to use.


TM_eslint_config_file = 'path/to/config.js'


  • Type: String
  • Default: null

Path to base configuration file. Only *.js or *.json extensions are currently supported (file is loaded using require, therefore *.yaml and files with no extension are not currently supported).


TM_eslint_base_config_file = 'path/to/base/base-config.js'


  • Type: Boolean
  • Default: true

Set to false to disable use of .eslintrc* files.


TM_eslint_use_eslintrc = false


  • Type: Boolean
  • Default: false

Output fixes source for errors and warnings that ESLint can fix. All rules in the documentation that show a wrench icon are fixable.


TM_eslint_eslint_fix = true


  • Type: String
  • Default: null

Use a non-default ignore file. From Ignoring Files and Directories:

When ESLint is run, it looks in the current working directory to find an .eslintignore file before determining which files to lint. If this file is found, then those preferences are applied when traversing directories. Only one .eslintignore file can be used at a time, so .eslintignore files other than the one in the current working directory will not be used.


TM_eslint_ignore_path = 'path/to/ignore/file'


  • Type: String
  • Default: null

Comma separated list of glob patterns.


TM_eslint_ignore_pattern = 'first/pattern, second/pattern'


  • Type: String

Path to a directory that should be considered as the current working directory.


TM_eslint_cwd = 'path/to/project'


  • Type: Boolean
  • Default: false

Disable the the "Lint on Save" command.


TM_eslint_disable_on_save = true


  • Type: Boolean
  • Default: false

Show any errors caught while trying to load or configure the ESLint CLIEngine.


TM_eslint_debug = true
You can’t perform that action at this time.