An eslint plugin for the Taskcluster Platform.

Usage no npm install needed!

<script type="module">
  import eslintPluginTaskcluster from '';



An eslint plugin for the Taskcluster Platform.


You'll first need to install ESLint and babel-eslint:

$ npm install eslint@1.x babel-eslint@5 --save-dev

$ npm install eslint@2.x babel-eslint@6 --save-dev

Next, install eslint-plugin-taskcluster:

$ npm install eslint-plugin-taskcluster --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-taskcluster globally.


Add taskcluster to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

    "plugins": [

Then configure the rules you want to use under the rules section.

    "rules": {
        "taskcluster/no-for-in": 2

Supported Rules

  • no-for-in: Disallow all instances of for-in loops.