ESLint in class with fat arrow using airbnb rules

Posted by Prem Tiwari | Updated on

I struggled with this problem for quite a while. I found that this configuration of .eslintrc works for your problem.

It works nicely with Sublime Text 3 with SublimeLinter-contrib-eslint. Note that you need to npm install -g eslint babel-eslint. put .eslintrc in ~/ for global config, put .eslintrc in app folder to overwrite global config.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers