Skip to content

ESLint config for projects under theme NexT organization.

License

Notifications You must be signed in to change notification settings

theme-next/eslint-config-theme-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-theme-next

npm-image lic-image

ESLint config for projects under theme NexT organization.

Installation

size-image dm-image dt-image

There are two ways to install this configuration preset with ESLint: globally (recommended) or locally.

Global Installation

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 the file .eslintrc.json does not exists in the required repository, you will need to create it:

{
  "extends": "theme-next",
  "root": true
}

Next, you can choose to install the ESLint plugin for your editor. For example, use Visual Studio Code with ESLint plugin installed.