1.0.0 • Published 7 years ago

@q4/eslint-config-q4-node v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
7 years ago

eslint-config-q4-node

JS ESLint config for Q4 Node projects

A fork of the Airbnb style guide at: https://github.com/airbnb/javascript

Install

  1. Install the package and its peer dependencies:

    npm install --save-dev eslint eslint-plugin-import eslint-config-airbnb-base q4mobile/eslint-config-q4-node
  2. Add "extends": "q4-node" to your .eslintrc file.

Run

If you installed the packages locally, run the local eslint binary: ./node_modules/.bin/eslint .

If you installed all the packages globally with npm install -g, you can run the global eslint: eslint .

Configure WebStorm

  1. Open Preferences and go to Languages & Frameworks ▸ JavaScript ▸ Code Quality Tools ▸ ESLint.
  2. Check Enable.
  3. Select the eslint binary you want to use in ESLint package.
  4. Check Automatic search, or check Configuration file and select your .eslintrc file manually.