Using ESLint

We use ESLint for linting JavaScript code.

Installing ESLint

Make sure that Node.JS is installed on your system.

Install ESLint and babel-eslint.

npm install -g eslint babel-eslint
eslint -v # view version and confirm that its in your path

Configuring ESLint

Create a default ~/.eslintrc to customize your ESLint configuration. We have added a sample .eslintrc file in Wheel which enables support for JSX and ES6.

Checkout how to integrate ESLint in your editor.