# eslint-config-leomax

> Strict ruleset for eslint

Latest version **1.1.0** (published 2017-03-20) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2017-03-20 |
| First published | 2017-01-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dmitry Remezov |
| Maintainers | derasds4 |
| Keywords | eslint, lint, linter, code, style, jscs |

## Links

- npm: https://www.npmjs.com/package/eslint-config-leomax
- Repository: git@gitlab.teledirekt.ru:Reacter/eslinter
- npm.io page: https://npm.io/package/eslint-config-leomax

## Dependencies (3)

- [eslint](https://npm.io/package/eslint.md) ^3.14.0
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^7.1.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^6.9.0

## 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.1.0 (latest) — 2017-03-20
- 1.0.0 (beta) — 2017-01-31
- 1.0.3 — 2017-02-20
- 1.0.2 — 2017-02-16
- 1.0.1 — 2017-02-07

## README

# esling-config-leomax
Общий набор правил для стиля кода.

## Предварительно установите eslint

```
npm i -g eslint
```

## Установка

Все ждём приватных npm-модулей... Или я забью и опубликую так.
```
npm i -g esling-config-leomax
```

## Использование в .eslintrc* файле

```
{
  "extends": "leomax"
}
```

## Использование в WebStorm

1. Идем в настройки
  - File->Settings (windows, настройки текущего проекта)
  - File->Default Settings (windows, настройки по-умолчанию)
  - WebStorm->Preferences (MacOS)
2. Переходим в Languages&Frameworks->JavaScript->Code Quality Tools->ESLint
3. Включаем
4. **Node interpreter** -
  должно быть корректно. Иначе указываем путь к ноде.
5. **ESLint package** -
  указываем корректный путь (важно) к глобально установленному eslint
6. **Configuration file**
  - Выбираем _Configuration file_ и выбираем глобальный eslint-config-leomax/index.js
  - Либо выбираем _Automatic search_ и для каждого проекта создаем файл .eslintrc с указаным выше содержимым
7. Радуемся, ибо это значительно упрощает отладку.

## Вопросы

- Таб или 2 пробела?
- Одинарные или двойные кавычки для строк?
- Нужен ли отступ перед скобками функции: fn () или fn()?
- Нужны ли отступы по границам массива: [ 1, 2, 3 ] или [1, 2, 3]?
- То же самое с объектами, объектами в массиве и вообще [см. это](http://eslint.org/docs/rules/key-spacing)

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