# @maons/lint

Latest version **0.6.4** (published 2023-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @maons/lint
pnpm add @maons/lint
yarn add @maons/lint
bun add @maons/lint
```

## 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.6.4 |
| Published | 2023-02-14 |
| First published | 2022-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 16 |
| Unpacked size | 12.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | rmoral |

## Links

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

## Dependencies (16)

- [eslint](https://npm.io/package/eslint.md) 8.33.0
- [prettier](https://npm.io/package/prettier.md) 2.8.3
- [eslint-config-turbo](https://npm.io/package/eslint-config-turbo.md) latest
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.32.2
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.27.5
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) 8.6.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 6.7.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) 4.2.1
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) 5.50.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) 4.6.0
- [eslint-plugin-tailwindcss](https://npm.io/package/eslint-plugin-tailwindcss.md) 3.8.3
- [eslint-import-resolver-node](https://npm.io/package/eslint-import-resolver-node.md) 0.3.7
- [eslint-plugin-no-only-tests](https://npm.io/package/eslint-plugin-no-only-tests.md) 3.1.0
- [prettier-plugin-tailwindcss](https://npm.io/package/prettier-plugin-tailwindcss.md) 0.2.2
- [eslint-plugin-simple-import-sort](https://npm.io/package/eslint-plugin-simple-import-sort.md) 10.0.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) 3.5.3

## Recent versions

- 0.6.4 (latest) — 2023-02-14
- 0.6.3 — 2023-02-03
- 0.6.2 — 2023-02-03
- 0.6.1 — 2023-02-03
- 0.6.0 — 2023-02-02
- 0.5.3 — 2023-02-02
- 0.5.2 — 2023-02-02
- 0.5.1 — 2023-02-02
- 0.5.0 — 2023-02-02
- 0.3.5 — 2022-12-30
- 0.3.4 — 2022-12-29
- 0.3.3 — 2022-12-29
- 0.3.2 — 2022-12-29
- 0.1.0 — 2022-12-27
- 0.1.0-beta.0 — 2022-12-27
- … 1 more at https://npm.io/package/@maons/lint/versions

## README

<a name="readme-top"></a>

# Lint rules and static code analysis

ESLint and Prettier configuration ready to use in any project.

It includes support for `React.js`, `Tailwindcss` and `Prettier`.

## Getting Started

### Install

```bash
npm install @maons/lint --save-dev
```

## Configuration

### ESLint

Add the following to your `package.json`:

```json
{
  "eslintConfig": {
    "extends": "@maons/lint/.eslintrc.js"
  }
}
```

or create a `.eslintrc.js` file with the following content:

```js
module.exports = {
  root: true,
  extends: '@maons/lint/.eslintrc.js',
};
```

### Prettier

Add the following to your `package.json`:

```json
{
  "prettier": "@maons/lint/.prettierrc.js"
}
```

### Visual Studio Code Integration

Steps to integrate `@maons/lint` with Visual Studio Code:

1. Install ESLint and Prettier plugins:

- [esbenp.prettier-vscode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
- [vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)

2. Add the following to your VSCode `settings.json`:

```json
{
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode",
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "editor.codeActionsOnSave": {
    "source.fixAll.tslint": true,
    "source.fixAll.eslint": true
  },
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ]
}
```

## License

Licensed under the [MIT license](https://github.com/rmoralp/maons/blob/main/packages/lint/LICENSE.md).

<p align="right">(<a href="#readme-top">back to top</a>)</p>

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