# @naverwhale/eslint-config-whale-web

> lint rules for whale web project

Latest version **1.1.2** (published 2024-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @naverwhale/eslint-config-whale-web
pnpm add @naverwhale/eslint-config-whale-web
yarn add @naverwhale/eslint-config-whale-web
bun add @naverwhale/eslint-config-whale-web
```

## 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.2 |
| Published | 2024-04-17 |
| First published | 2022-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | NAVER Corp. |
| Maintainers | whaleteam, liebebe, lazielk |

## Links

- npm: https://www.npmjs.com/package/@naverwhale/eslint-config-whale-web
- Repository: https://github.com/naverwhale/eslint-config-whale-web
- Homepage: https://github.com/naverwhale/eslint-config-whale-web#readme
- Issues: https://github.com/naverwhale/eslint-config-whale-web/issues
- npm.io page: https://npm.io/package/@naverwhale/eslint-config-whale-web

## Recent versions

- 1.1.2 (latest) — 2024-04-17
- 1.1.1 — 2022-12-16

## README

# eslint-config-whale-web

[![npm version](https://badge.fury.io/js/@naverwhale%2Feslint-config-whale-web.svg)](https://www.npmjs.com/package/@naverwhale/eslint-config-whale-web)

네이버 웨일 웹 플랫폼 공통 자바스크립트 코딩 컨벤션입니다.

## 설치

```bash
$ npm install --save-dev @naverwhale/eslint-config-whale-web
```

## eslint 설정

`.eslintrc.js` 파일

```js
// ES6+ 프로젝트
module.exports = {
    extends: "@naverwhale/eslint-config-whale-web",
    //...
};

// React 프로젝트
module.exports = {
    extends: "@naverwhale/eslint-config-whale-web/react",
    //...
};

// Vue.js 프로젝트
module.exports = {
    extends: "@naverwhale/eslint-config-whale-web/vue",
    //...
};
```

`.eslintignore` 파일

```js
!.eslintrc.js
```

### ℹ️ `console` / `debugger`

`no-console`, `no-debugger` 설정은 `warn` 레벨입니다.
개발시 편의에 따라 `.eslintrc.js`의 `rules` 항목에서 해당 옵션을 재정의하여 변경할 수 있습니다.

```js
module.exports = {
    //...
    rules: {
        "no-console": process.env.NODE_ENV === "production" ? "error" : "off",
        "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
    }
};
```

## License

`eslint-config-whale-web` is released under the [MIT license](LICENSE).

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