Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mellkam/eslint-config


https://github.com/mellkam/eslint-config

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

## Installation

```bash
npm install --save-dev @mellkam/eslint-config
```

```bash
yarn add -D @mellkam/eslint-config
```

```bash
pnpm add -D @mellkam/eslint-config
```

## Peer dependencies

- eslint
- prettier
- typescript

## Eslint config example

```javascript
module.exports = {
root: true,
extends: ['@mellkam/eslint-config'],
parserOptions: {
project: './tsconfig.json',
},
};

```

## Prettier config example

```javascript
module.exports = require('@mellkam/eslint-config/prettier');
```