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

@seungwoo321/eslint-plugin-standard-js

v1.0.1

Published

eslint for standard js

Readme

@seungwoo321/eslint-plugin-standard-js

ESLint 9.x용 Standard 규칙 기반의 린트 플러그인입니다.

설치

npm install -D eslint @seungwoo321/eslint-plugin-standard-js

사용법

recommended: 코드 스타일과 린트 규칙을 모두 포함합니다.
base: 린트 규칙만 포함합니다. Prettier 규칙을 활용하고 싶은 경우에 적합합니다.
stylistic: 코드 스타일 규칙만 포함합니다.

// eslint.config.js
import { defineConfig } from 'eslint/config'
import standard from '@seungwoo321/eslint-plugin-standard-js'

export default defineConfig([
  {
    files: ['**/*.{js,mjs,cjs,ts,mts,jsx,tsx}'],
    extends: [
      ...standard.configs.recommended
    ]
  }
])

✅ 기본 설정을 사용하면서 특정 규칙만 커스터마이즈할 수 있습니다.
✨ 프로젝트에 맞는 규칙을 세밀하게 조정하고 싶다면 다음 방식이 유용합니다.

// eslint.config.js
import { defineConfig } from 'eslint/config'
import standardjs from '@seungwoo321/eslint-plugin-standard-js'

export default defineConfig([
  {
    files: ['**/*.{js,mjs,cjs,ts,mts,jsx,tsx}'],
    ignores: ['lib/**/*'],
    extends: [
      ...standard.configs.standardjs
    ],
    rules: {
      // ✅ 최대 라인 길이 제한
      '@stylistic/max-len': ['error', {
        code: 80,
        ignoreComments: true,
        ignoreUrls: true,
        ignoreStrings: true,
        ignoreTemplateLiterals: true,
        ignoreRegExpLiterals: true
      }],
      // ✅ 세미콜론 규칙 비활성화
      '@stylistic/semi': 'off',
      // ✅ 미사용 변수는 경고로만 표시
      'no-unused-vars': 'warn'
    }
  }
])

IDE 연동 (VSCode, Cursor)

✅ stylistic가 포함된 규칙을 사용한다면, 자동 포맷팅을 위해 아래 설정을 적용하세요. ✨ prettier를 사용하는 규칙을 사용한다면, 자동 포맷팅을 위해 @seungwoo321/prettier-config를 참고하세요.

// .vscode/settings.json
{
  "editor.tabSize": 2,
  "editor.defaultFormatter": null,
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "eslint.run": "onType",
  "eslint.format.enable": true,
  "eslint.lintTask.enable": true,
  "eslint.useESLintClass": true,
  "eslint.options": {
    "overrideConfigFile": "eslint.config.js"
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript", 
    "typescriptreact"
  ],
  "eslint.useFlatConfig": true,
  
  // JavaScript/TypeScript 기본 포맷팅 비활성화 (ESLint가 담당)
  "javascript.format.enable": false,
  "typescript.format.enable": false
}