/eslint-global

Lint everywhere

Primary LanguageJavaScript

ESLINT GLOBAL (Run lint everywhere with vscode)

Install

npm install

Open vscode install eslint extention https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint

Add config to vscode

"eslint.nodePath": "C:/Users/vu.bui/bin/eslint-global/node_modules/",
"eslint.debug": true,
"eslint.options": { "configFile": "C:/Users/vu.bui/bin/eslint-global/.eslintrc.json" }

Enjoy!!!

Update rules

Method 1: Pull new code to get latest changes. Method 2: Fork repo & make your own changes.