ESLint config for projects under theme NexT organization.
npm install eslint-config-theme-next[![npm-image]][npm-url]
[![lic-image]](LICENSE)
ESLint config for projects under theme NexT organization.
![size-image]
[![dm-image]][npm-url]
[![dt-image]][npm-url]
There are two ways to install this configuration preset with ESLint: globally (recommended) or locally.
``bash`
npm install -g eslint
npm install -g eslint-config-theme-next
`bash`
npm install --save-dev eslint
npm install --save-dev eslint-config-theme-next
If the file .eslintrc.json does not exists in the required repository, you will need to create it:
`json``
{
"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.
[npm-image]: https://img.shields.io/npm/v/eslint-config-theme-next.svg?style=flat-square
[lic-image]: https://img.shields.io/npm/l/eslint-config-theme-next?style=flat-square
[size-image]: https://img.shields.io/github/languages/code-size/theme-next/eslint-config-theme-next?style=flat-square
[dm-image]: https://img.shields.io/npm/dm/eslint-config-theme-next?style=flat-square
[dt-image]: https://img.shields.io/npm/dt/eslint-config-theme-next?style=flat-square
[npm-url]: https://www.npmjs.com/package/eslint-config-theme-next