ESLint Guide - ZetaRet/protoss GitHub Wiki
Install VSCode
Install ESLint
Extension in VSCode
Install npm
Open Terminal and execute npm
commands:
npm -g i eslint-cli
npm install eslint -g
Create/Open your project in VSCode
and type in terminal
npm init
to create package.json
and input any data including nothing
Open Command Palette
and search for Create ESLint Configuration
or type in terminal
eslint --init
Follow the instructions and finish your new eslint configuration.
Use the official ESLint Demo
website https://eslint.org/demo to test configuration and download to extend .eslintrc.json
locally.