Wednesday, 3 May 2017

upgrade ESLint to ECMA6 Brackets IDE

Background

I recently switched to using Brackets IDE to code on JavaScript. Upon realizing the default linter of Brackets was a very outdated version of JSLint, I followed some documentation and ended up installing the more versatile ESLint.

Problem

The problem is that this linter is only built for ECMA5, and does not even recognize the usage of keywords like const.

There are some efforts from the community to improve JSLint into accepting ECMA6, but since I have been using ESLint in Cloud9 IDE for quite a while, I would like to keep it.

What I tried

My reaction was to add the rules manually, in some eslint configuration file, but after searching for it I couldn't find it.

Question

  1. Is there a way to update ESLint rules on brackets IDE? If so, how?


via Flame_Phoenix

No comments:

Post a Comment