eslint-config-theme-next
ESLint config for projects under theme NexT organization.
Installation
There are two ways to install this configuration preset with ESLint
: globally or locally.
Global Installation (recommended)
npm install -g eslint
npm install -g eslint-config-theme-next
Local Installation
npm install --save-dev eslint
npm install --save-dev eslint-config-theme-next
Usage
If file .eslintrc.json
not exists under needed repository, then need to create it:
{
"extends": "theme-next",
"root": true
}
Then need to install ESLint plugin under your editor. For example, I use Visual Studio Code with ESLint plugin installed.