Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/munierujp/eslint-config-typescript

ESLint Shareable Config for TypeScript
https://github.com/munierujp/eslint-config-typescript

Last synced: 26 days ago
JSON representation

ESLint Shareable Config for TypeScript

Awesome Lists containing this project

README

        

[![npm version](https://badge.fury.io/js/%40munierujp%2Feslint-config-typescript.svg)](https://badge.fury.io/js/%40munierujp%2Feslint-config-typescript)
[![lint](https://github.com/munierujp/eslint-config-typescript/actions/workflows/lint.yml/badge.svg)](https://github.com/munierujp/eslint-config-typescript/actions/workflows/lint.yml)
[![ESLint Recommended](https://img.shields.io/badge/eslint-recommended-%234B32C3)](https://github.com/eslint-recommended)

# @munierujp/eslint-config-typescript

ESLint Shareable Config for TypeScript

## Requirements

- Node.js v20 or later
- ESLint v8

## Installation

npm:

```sh
npm i -D @munierujp/eslint-config-typescript
```

Yarn:

```sh
yarn add -D @munierujp/eslint-config-typescript
```

pnpm:

```sh
pnpm add -D @munierujp/eslint-config-typescript
```

## Usage

Add `@munierujp/eslint-config-typescript` to the `extends` section of your [ESLint configuration file](https://eslint.org/docs/latest/use/configure/configuration-files-deprecated).

JavaScript:

```javascript
module.exports = {
extends: [
'@munierujp/eslint-config-typescript'
// add other rulesets here if needed
]
}
```

YAML:

```yaml
extends:
- @munierujp/eslint-config-typescript
# add other rulesets here if needed
```

JSON:

```jsonc
{
"extends": [
"@munierujp/eslint-config-typescript"
// add other rulesets here if needed
]
}
```

## Related Packages

- [@munierujp/eslint-config](https://www.npmjs.com/package/@munierujp/eslint-config)