Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mayconfsousa/eslint-config-ts-recommended

An ESLint shareable config for NodeJS and React projects using Typescript
https://github.com/mayconfsousa/eslint-config-ts-recommended

eslint node react typescript

Last synced: about 2 months ago
JSON representation

An ESLint shareable config for NodeJS and React projects using Typescript

Awesome Lists containing this project

README

        

# eslint-config-ts-recommended

An ESLint shareable config for NodeJS and React projects using Typescript

### Install

- Using `npm`:

```
npx install-peerdeps eslint-config-ts-recommended --dev
```

- Using `yarn`:

```
npx install-peerdeps eslint-config-ts-recommended --dev --yarn
```

### Usage

- Use with `React` projects:

```js
// .eslintrc.js

module.exports = {
extends: 'ts-recommended/react',
};
```

- Use with `NodeJS` projects:

```js
// .eslintrc.js

module.exports = {
extends: 'ts-recommended/node',
};
```