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

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

Last synced: 11 days ago
JSON representation

ESLint Shareable Config for JavaScript

Awesome Lists containing this project

README

        

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

# @munierujp/eslint-config

ESLint Shareable Config for JavaScript

## Requirements

- Node.js v20 or later
- ESLint v8

## Installation

npm:

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

Yarn:

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

pnpm:

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

## Usage

Add `@munierujp` 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'
// add other rulesets here if needed
]
}
```

YAML:

```yaml
extends:
- @munierujp
# add other rulesets here if needed
```

JSON:

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

## Related Packages

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