# @antscorp/eslint-config-antsomi

> Antsomi's ESLint config, following our styleguide

Latest version **1.0.6** (published 2023-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @antscorp/eslint-config-antsomi
pnpm add @antscorp/eslint-config-antsomi
yarn add @antscorp/eslint-config-antsomi
bun add @antscorp/eslint-config-antsomi
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2023-04-15 |
| First published | 2023-03-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | ^10.12.0 \|\| ^12.22.0 \|\| ^14.17.0 \|\| >=16.0.0 |
| Dependencies | 0 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Antsomi |
| Maintainers | phongdang707, ngocthangh, datle0497, vinlt.antsomi, dotuan9x, khanhhv, sangndd-antsomi |
| Keywords | eslint, eslintconfig, config, antsomi, typescirpt, javascript, styleguide, es2015, es2016, es2017, es2018 |

## Links

- npm: https://www.npmjs.com/package/@antscorp/eslint-config-antsomi
- npm.io page: https://npm.io/package/@antscorp/eslint-config-antsomi

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2023-04-15
- 1.0.5 — 2023-04-15
- 1.0.4 — 2023-03-16
- 1.0.3 — 2023-03-16
- 1.0.2 — 2023-03-16
- 1.0.1 — 2023-03-16
- 1.0.0 — 2023-03-16

## README

# @antscorp/eslint-config-antsomi

[![Version](https://img.shields.io/npm/v/@antscorp/eslint-config-antsomi.svg?style=flat-square)](https://www.npmjs.com/package/eslint-config-airbnb-typescript?activeTab=versions) [![Downloads](https://img.shields.io/npm/dt/@antscorp/eslint-config-antsomi.svg?style=flat-square)](https://www.npmjs.com/package/eslint-config-airbnb-typescript) [![Last commit](https://img.shields.io/github/last-commit/iamturns/@antscorp/eslint-config-antsomi.svg?style=flat-square)](https://github.com/iamturns/eslint-config-airbnb-typescript/graphs/commit-activity)

This package provides Antsomi's .eslintrc as an extensible shared config.

## Usage

We export ESLint configurations for your usage.

## Setup

### 1) Install dependencies (and peer dependencies)

```bash
npx install-peerdeps --dev @antscorp/eslint-config-antsomi
```
### 2) Configure Eslint

Within your ESLint config file:

```diff
extends: [
+ '@antscorp/antsomi'
]
```
### 3) Configure the ESLint TypeScript parser

This config requires knowledge of your TypeScript config.

In your ESLint config, set [parserOptions.project](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionsproject) to the path of your `tsconfig.json`.

For example:

```diff
{
  extends: ['@antscorp/antsomi'],
+ parserOptions: {
+   project: './tsconfig.json'
+ }
}
```
### 5) Run ESLint

Open a terminal to the root of your project, and run the following command:

```
yarn run eslint --ext js,ts,tsx
```

---
_Source: https://npm.io/package/@antscorp/eslint-config-antsomi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
