# eslint-config-hurumhorology

> typescript eslint config packages for watchlab developments

Latest version **1.2.0** (published 2023-12-04) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2023-12-04 |
| First published | 2023-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 52.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | pyo-sh |
| Maintainers | seokhoji, pyo-sh |
| Keywords | eslint, eslintconfig, config, typescript, es2018 |

## Links

- npm: https://www.npmjs.com/package/eslint-config-hurumhorology
- Repository: https://github.com/hurumhorology/eslint-config
- Issues: https://github.com/hurumhorology/eslint-config/issues
- npm.io page: https://npm.io/package/eslint-config-hurumhorology

## 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.2.0 (latest) — 2023-12-04
- 1.1.0 — 2023-11-30
- 1.0.0 — 2023-11-29

## README

# eslint-config-hurumhorology

typescript eslint config packages for watchlab developments
Referenced by [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb), (not based on).

## Installation

Install `eslint-config-hurumhorology` package:

1. Install the correct versions of each package, which are listed by the command:

```
npm info "eslint-config-hurumhorology" peerDependencies
```

if using **npm 5+**, use this shortcut

```
npx install-peerdeps --dev eslint-config-hurumhorology
```

if using **yarn**, use this command

```
yarn add --peer --dev eslint-config-hurumhorology
```

2. Install via package manager:

```
npm install --save-dev eslint-config-hurumhorology
```

or

```
yarn --dev eslint-config-hurumhorology
```

## Usage

### eslint-config-hurumhorology

Rule about javascript, but it does not have babel setting.
if you want only javascript rule setting, should set eslint babel

> - eslint
> - eslint-plugin-import

```javascript
module.exports = {
  extends: ["eslint-config-hurumhorology"],
};
```

- CAUTION: if you are using `sourceType: module`, you should add it in you config file

```javascript
module.exports = {
  parserOptions: {
    sourceType: "module",
  },
};
```

### eslint-config-hurumhorology/typescript

> - @typescript-eslint/eslint-plugin
> - @typescript-eslint/parser
> - eslint-import-resolver-typescript

```javascript
module.exports = {
  extends: [
    "eslint-config-hurumhorology",
    "eslint-config-hurumhorology/typescript",
  ],
};
```

- CAUTION: if you are using `sourceType: module`, you should add it in you config file

```javascript
module.exports = {
  parserOptions: {
    sourceType: "module",
  },
  settings: {
    "import/resolver": {
      typescript: {
        // if you have another tsconfig file, you should change it
        // if not, you don't have to write it
        project: ["./tsconfig.json"],
        sourceType: "module",
      },
    },
  },
};
```

### eslint-config-hurumhorology/prettier

> - eslint-config-prettier
> - eslint-plugin-prettier

```javascript
module.exports = {
  extends: [
    "eslint-config-hurumhorology",
    "eslint-config-hurumhorology/typescript",
    "eslint-config-hurumhorology/prettier",
  ],
};
```

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