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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ogq/front-config

v2.1.3

Published

OGQ 프론트엔드 팀을 위한 ESLint/Prettier 공유 설정입니다. Next.js 기반 프로젝트는 `@ogq/front-config` 하나로 룰을 정리하고, Nuxt/Vue 프로젝트는 Prettier만 공유해 팀 간 포맷을 맞출 수 있습니다.

Readme

@ogq/front-config

OGQ 프론트엔드 팀을 위한 ESLint/Prettier 공유 설정입니다. Next.js 기반 프로젝트는 @ogq/front-config 하나로 룰을 정리하고, Nuxt/Vue 프로젝트는 Prettier만 공유해 팀 간 포맷을 맞출 수 있습니다.

빠른 시작

  1. 패키지 설치
    npm i -D @ogq/front-config

    ESLint 8(legacy) 프로젝트에서는 npm i -D @typescript-eslint/parser @typescript-eslint/eslint-plugin도 함께 설치해 주세요. (버전은 최소 7.x 이상이면 됩니다.)

  2. Next.js 15 / ESLint 9 (flat config)
    // eslint.config.mjs
    import ogq from "@ogq/front-config/eslint/flat";
    export default [...ogq({ withNext: true, useTs: true })];
  3. Next.js 14 이하 / ESLint 8 (legacy)
    // .eslintrc.js
    module.exports = {
      extends: ["@ogq/front-config/eslint"],
    };
  4. Prettier 공유 설정
    // package.json
    {
      "prettier": "@ogq/front-config/prettier"
    }

필요하면 각 프로젝트의 rules, ignores를 추가 블록으로 덧붙여 점진적으로 튜닝하세요.

네이밍 컨벤션

ESLint로 자동 검사 (warning): 컴포넌트 PascalCase, Hook use* 접두사, 변수/함수 camelCase, 상수 UPPER_CASE

코드 리뷰로 관리: 이벤트 핸들러 handle*, Boolean props is*, 네트워크 함수 get/fetch/load 구분

서비스별 적용 가이드

운영 팁

  • 기본 규칙은 대부분 warn이므로 기존 코드에 바로 적용해도 빌드가 깨지지 않습니다.

  • Vue/Nuxt 프로젝트는 ESLint 플러그인 충돌을 피하기 위해 Prettier만 공유하는 것을 권장합니다.

  • 새로운 서비스가 생기면 docs/에 전용 가이드를 추가해 README 링크 목록을 업데이트하세요.

  • VS Code를 사용하는 경우 아래 설정을 저장해 두면 저장 시 자동으로 Prettier 포맷과 ESLint 자동 수정을 실행할 수 있습니다.

    // .vscode/settings.json
    {
      "editor.formatOnSave": true,
      "editor.defaultFormatter": "esbenp.prettier-vscode",
      "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true,
      },
    }