# @betgames/lint-client

> Eslint and Prettier configs for frontend projects

Latest version **0.0.6** (published 2022-01-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @betgames/lint-client
pnpm add @betgames/lint-client
yarn add @betgames/lint-client
bun add @betgames/lint-client
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2022-01-20 |
| First published | 2021-10-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 19 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | BetGames |
| Maintainers | betgames |

## Links

- npm: https://www.npmjs.com/package/@betgames/lint-client
- npm.io page: https://npm.io/package/@betgames/lint-client

## Dependencies (19)

- [jest](https://npm.io/package/jest.md) 26.6.3
- [eslint](https://npm.io/package/eslint.md) 7.27.0
- [prettier](https://npm.io/package/prettier.md) 2.3.0
- [typescript](https://npm.io/package/typescript.md) 4.3.2
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) 24.4.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.23.2
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) 18.2.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.23.3
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) 8.3.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 6.4.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) 3.4.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) 4.25.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) 4.2.0
- [eslint-config-airbnb-typescript](https://npm.io/package/eslint-config-airbnb-typescript.md) 12.3.1
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) 4.25.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) 2.4.0
- [babel-plugin-jsx-control-statements](https://npm.io/package/babel-plugin-jsx-control-statements.md) 4.1.0
- [eslint-import-resolver-babel-module](https://npm.io/package/eslint-import-resolver-babel-module.md) 5.3.1
- [eslint-plugin-jsx-control-statements](https://npm.io/package/eslint-plugin-jsx-control-statements.md) 2.2.1

## Recent versions

- 0.0.6 (latest) — 2022-01-20
- 0.0.5 — 2021-10-29
- 0.0.4 — 2021-10-29
- 0.0.3 — 2021-10-19
- 0.0.2 — 2021-10-19
- 0.0.1 — 2021-10-18

## README

# fe-config
### Frontend configs for eslint and prettier
This package provides extensible shared configs for eslint and prettier for frontend projects.

Repository


## Installation
### Eslint

1. Install config package
```sh
yarn add 
  ```
2. Install correct versions of each package from `@betgames/lint-client` dependencies:
   

Run `yarn add --dev <dependency>@<version>` for each dependency.

## Usage

### @betgames/lint-client/src/eslint

Add `"extends": "@betgames/lint-client/src/eslint"` to your `.eslintrc`
```json
// .eslintrc.json
"extends": ["@betgames/lint-client/src/eslint"],
"globals": {
    // Additional global variables...
},
"rules": {
    // Additional, per-project rules...
},
```
### @betgames/lint-client/src/eslint/jest

This entry point enables the linting rules for jest files.

```json
// .eslintrc.json
"overrides": [
    {
        "files": ["*.test.ts", "*.test.tsx"],
        "extends": ["@betgames/lint-client/src/eslint/jest"]
    },
]
```

### @betgames/lint-client/src/eslint/ts

```json
// .eslintrc.json
"overrides": [
    {
        "files": ["*.ts", "*.tsx"],
        "extends": ["@betgames/lint-client/src/eslint/ts"]
    },
]
```


## Prettier
To use your shared Prettier config in other projects, you need to reference it in your project's `package.json` manifest by adding the prettier property:
```json
{
  "name": "project",
  // ...
  "prettier": "@betgames/lint-client/src/prettier"
  // ...
}
```

---
_Source: https://npm.io/package/@betgames/lint-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
