Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diplodoc-platform/eslint-config
@diplodoc-platfrom ESlint config
https://github.com/diplodoc-platform/eslint-config
Last synced: about 2 months ago
JSON representation
@diplodoc-platfrom ESlint config
- Host: GitHub
- URL: https://github.com/diplodoc-platform/eslint-config
- Owner: diplodoc-platform
- Created: 2023-10-12T07:20:42.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-08T11:31:14.000Z (5 months ago)
- Last Synced: 2024-08-09T11:06:42.639Z (5 months ago)
- Language: JavaScript
- Size: 318 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @diplodoc/eslint-config
[![NPM version](https://img.shields.io/npm/v/@diplodoc/eslint-config.svg?style=flat)](https://www.npmjs.org/package/@diplodoc/eslint-config)
## Install
```
npm install --save-dev eslint @diplodoc/eslint-config
```## Usage
Add `.eslintrc` file in the project root with the following content:
```json
{
"extends": "@diplodoc/eslint-config",
"root": true
}
```### Prettier
If you are using Prettier, extend root config with the additional rules:
```json
{
"extends": ["@diplodoc/eslint-config", "@diplodoc/eslint-config/prettier"],
"root": true
}
```