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

@cocopalm/oxc-linter-config

v0.0.16

Published

oxc linter configuration

Readme

oxc-linter-config

⚠️ oxc linter는 현재 활발히 개발 진행중인 라이브러리입니다. 그로 인해 버전간의 주요 변경사항이 존재할 수 있습니다.

Installation

pnpm add oxlint @cocopalm/oxc-linter-config

How to use

packages/oxc-linter-config/
├── oxlint-common.json  # 모든 프로젝트에 공통 적용
├── oxlint-react.json   # React/Next.js 프로젝트용
└── oxlint-node.json    # Node.js 프로젝트용

.oxlintrc.json 설정하기

프로젝트 루트 디렉토리에 .oxlintrc.json 을 생성합니다.

touch .oxlintrc.json

적용하고자 하는 린트 규칙을 extends 필드에 정의합니다.

// .oxlintrc.json

{
  "extends": [
    "node_modules/@cocopalm/oxc-linter-config/oxlint-common.json",
    "node_modules/@cocopalm/oxc-linter-config/oxlint-react.json"
  ]
}

package.json 에 린트 스크립트를 추가해주세요.

// package.json

{
  "scripts": {
    "lint": "oxlint .",
    "lint:fix": "oxlint . --fix"
  }
}

rule overrides

린트 규칙을 오버라이드하고 싶다면 overrides 필드를 사용합니다.

{
  "extends": [
    "node_modules/@cocopalm/oxc-linter-config/oxlint-common.json",
    "node_modules/@cocopalm/oxc-linter-config/oxlint-react.json"
  ],
  "overrides": [
    {
      "files": ["**/*.{ts,tsx}"],
      "rules": {
        "eslint/no-unused-vars": "off"
      }
    }
  ]
}

Examples

  1. Common 규칙만 사용 (vanilla JS/TS 프로젝트)

    {
      "extends": ["node_modules/@cocopalm/oxc-linter-config/oxlint-common.json"]
    }
  2. React 프로젝트

    {
      "extends": [
        "node_modules/@cocopalm/oxc-linter-config/oxlint-common.json",
        "node_modules/@cocopalm/oxc-linter-config/oxlint-react.json"
      ]
    }
  3. Node.js 프로젝트

    {
      "extends": [
        "node_modules/@cocopalm/oxc-linter-config/oxlint-common.json",
        "node_modules/@cocopalm/oxc-linter-config/oxlint-node.json"
      ]
    }

Lint Rules

각 설정 파일에 적용된 모든 린트 규칙과 각 규칙을 추가한 이유에 대해 알고 싶다면 다음 문서를 참고해주세요.

👉 Linter Rules 설명서

Description

기존에 널리 사용중인 eslint-plugin을 oxc-linter에서 사용할 수 있도록 포팅하는 작업이 진행중입니다.
진행상황을 확인하고 싶다면 다음 이슈를 참고해주세요.

👉 github issue

Caveat

  1. v1 기준으로 다음 eslint-plugin들의 not recommended 규칙들은 미구현 상태로 인해서 현재 적용되어있지 않습니다.
  1. react compiler 관련 규칙들은 아직 oxc linter react plugin에서 지원하지 않기 때문에 적용되어있지 않습니다.