# eslint-config-salak

> An opinionated take on eslint rules for different environments.

Latest version **0.0.4** (published 2016-11-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-salak
pnpm add eslint-config-salak
yarn add eslint-config-salak
bun add eslint-config-salak
```

## 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.4 |
| Published | 2016-11-23 |
| First published | 2016-11-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Atakiel |
| Maintainers | atakiel |
| Keywords | eslint, config, node, react |

## Links

- npm: https://www.npmjs.com/package/eslint-config-salak
- npm.io page: https://npm.io/package/eslint-config-salak

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2016-11-23
- 0.0.3 — 2016-11-23

## README

# eslint-config-salak

Opinionated style rules for ESLint.

## How to use

Prerequisites: You are expected to have [ESLint](http://eslint.org) installed, and means to run it.

Steps to use:

1. Install `eslint-config-salak`

    ```sh
    npm install --save-dev eslint-config-salak babel-eslint eslint-plugin-react
    ```

2. Create `.eslintrc` file in your project root, and add the following code in it:

    ```json
    {
      "extends": "salak"
    }
    ```

There are additional configs in salak that you can use:

* `es` - es6 and es7 specific rules
* `general` - general rules
* `error` - error rules
* `node` - node specific rules
* `browser` - browser specific rules
* `json` - json specific rules
* `react` - react specific rules

Salak automatically uses `es`, `error` and `general`.

If you want to use any of the other rules, you can define so in `.eslintrc`:

```json
{
  "extends": [
      "salak/es",
      "salak/react"
    ]
}
```

## What is

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