Transpiles coffee files (.coffee, .cjsx) and runs through eslint. Reports errors with original line numbers.
Last updated 2 years ago by ovikholt .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-plugin-coffeescript-es7 
SYNC missed versions from official npm registry.


Transpiles .coffee and .cjsx files before with coffeescript, then runs eslint checks on them. The plugin ignores some rules that are impossible to satisfy from coffeescript (see this file)


You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-coffeescript-es7:

$ npm install eslint-plugin-coffeescript-es7 --save-dev

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


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

    "plugins": [
        "coffeescript", // ...

To have imports resolve properly with the eslint-plugins-imports module, you must set this plugin to wrap your default parser:

  "parser": "eslint-plugin-coffeescript-es7",
  "parserOptions": { 
    "parser": "babel-eslint", // original parser goes here (you must specify one to use this option).
    "sourceType": "module", // any original parser config options you had.
    "ecmaVersion": 6


Big thanks for awesome contributors:

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

2 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Today 1
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)

Copyright 2014 - 2016 © |