L
L
Leshiy952017-02-04 12:56:02
JavaScript
Leshiy95, 2017-02-04 12:56:02

How to set up eslint under Atom on mac?

Please tell me about installing ESlint under Atom on mac, Here's what I did:
1. install globally ( npm install-g eslint );
2.installed plugins ( npm install-g --save eslint-config-airbnb ;
npm install-g --save eslint-plugin-import );
3.created a file in home directory( vim ~/.eslintrc; { "extends" : "airbnb/base" } );
4.installed the package in Atom(l inter-eslint );
5. I went into the package settings and checked the box next to Use global ESLint installation ;
, but for some reason error highlighting does not work in atom, although everything works on the command line. What can solve the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question