Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theme-next/eslint-config-theme-next
ESLint config for projects under theme NexT organization.
https://github.com/theme-next/eslint-config-theme-next
eslint-config hexo theme-next
Last synced: 11 days ago
JSON representation
ESLint config for projects under theme NexT organization.
- Host: GitHub
- URL: https://github.com/theme-next/eslint-config-theme-next
- Owner: theme-next
- License: mit
- Created: 2018-05-03T17:42:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T08:24:50.000Z (9 months ago)
- Last Synced: 2025-01-17T03:42:04.382Z (15 days ago)
- Topics: eslint-config, hexo, theme-next
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-theme-next
[![npm-image]][npm-url]
[![lic-image]](LICENSE)[ESLint](https://www.github.com/eslint/eslint) config for projects under [theme NexT](https://github.com/theme-next) organization.
## Installation
![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.
### Global Installation
```bash
npm install -g eslint
npm install -g eslint-config-theme-next
```### Local Installation
```bash
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:
```json
{
"extends": "theme-next",
"root": true
}
```Next, you can choose to install the ESLint plugin for your editor. For example, use [Visual Studio Code](https://github.com/Microsoft/vscode/) with [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-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