npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@duchi/eslint-config

v1.0.11

Published

## Installation

Downloads

10

Readme

@duchi/eslint-config

Installation

npm i -D @duchi/eslint-config

Configuration

프로젝트 루트의 .eslintrc.cjs파일을 경우에 따라 다음과 같이 수정합니다.

TypeScript Only

/**
 * patch 파일을 불러옵니다.
 * 이렇게 하면 ESLint 플러그인들을 프로젝트에서 일일이 설치할 필요가 없어집니다.
 */
require("@duchi/eslint-config/patch");

module.exports = {
  env: { browser: true, es2020: true },
  extends: [
    // 공통 ESLint 컨피그 불러오기
    "@duchi/eslint-config/index",
  ],
  parserOptions: {
    /**
     * rushstack은 @typescript-eslint 플러그인을 내장하고 있으므로
     * 아래와 같이 tsconfig 경로를 명시해줘야합니다.
     */
    project: true,
    tsconfigRootDir: __dirname,
  },
};

TypeScript with React

/**
 * patch 파일을 불러옵니다.
 * 이렇게 하면 ESLint 플러그인들을 프로젝트에서 일일이 설치할 필요가 없어집니다.
 */
require("@duchi/eslint-config/patch");

module.exports = {
  env: { browser: true, es2020: true },
  extends: [
    // 공통 ESLint 컨피그 불러오기
    "@duchi/eslint-config/index",
    // React용 ESLint 컨피그 불러오기
    "@duchi/eslint-config/mixins/react",
  ],
  settings: {
    react: {
      /**
       * 현재 React 버전을 명시합니다.
       * 명시하지 않을 경우(기본값 'detect') React 라이브러리 전체를 불러오므로
       * 린트 과정에서 속도가 느려질 수 있습니다.
       * 예: '16.9', '17.0', '18.0' 등
       */
      version: "18.2",
    },
  },
  /**
   * rushstack은 @typescript-eslint 플러그인을 내장하고 있으므로
   * 아래와 같이 tsconfig 경로를 명시해줘야합니다.
   */
  parserOptions: {
    project: true,
    tsconfigRootDir: __dirname,
  },
};

Based on @rushstack/eslint-config

이 ESLint 설정은 널리 사용되는 @rushstack/eslint-config를 기반으로 만들어졌습니다. @rushstack/eslint-config를 활용하면 JavaScript와 TypeScript에 대한 구성이 모두 포함된 잘 유지 관리되고 포괄적인 ESLint 설정을 활용할 수 있습니다. @rushstack/eslint-config에 대한 자세한 내용은 Rushstack ESLint 구성 설명서를 참조하세요.

추가적으로 구성된 설정은 다음과 같습니다.

  1. @typescript-eslint/explicit-function-return-type: off
  2. sort-imports
  3. import/order

Reference

우리 팀을 위한 ESLint, Prettier 공유 컨피그 만들어보기