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

eslint-config-fronttigger

v1.0.0

Published

fronttigger custom lint

Readme

eslint-config-fronttigger

fronttigger의 공통 린트 규칙 모음입니다.

프로젝트 구조

.github
├── workflows
│   └── *.yaml
rules (개발자 커스텀 룰 규칙 모음)
├── typescript (타입스크립트 룰)
│   └── *.js
├── base.js (eslint 기본 룰)
├── import.js (모듈 import/export 관련 룰)
├── jsx-a11y.js (접근성 관련 룰)
├── prettier.js (prettier 관련 룰)
├── promise.js (promise 관련 룰)
├── react-hooks.js (react hooks 관련 룰)
├── react.js (react 관련 룰)
scripts (스크립트)
├── canary-publish.sh (카나리 배포 스크립트)
test (린트 테스트 모음)
└── * (각 환경별 테스트 디렉토리)
    ├── .eslintrc
    └── *.{js,ts,tsx}
frontend.js (프론트엔드 전용 린트 모듈)
index.js (린트 모듈)
prettierrc.js (프리티어 모듈)
stylelint.js (스타일린트 모듈)
tsconfig.json

설치

npm

npm install --save-dev eslint-config-fronttigger

yarn

yarn add -D eslint-config-fronttigger

사용 방법

ESLint

  1. 사용하는 프로젝트의 package.json scripts 속성에 아래 명령어를 추가합니다.
{
  "lint": "eslint './src/**/*.{js,ts,tsx}'",
  "lint:fix": "npm run lint -- --fix"
}
  1. 프로젝트 루트에 .eslintrc 파일을 만들고 추가한 린트 의존성을 작성합니다.

만약 추가, 확장할 설정이 있다면 주석 부분에 추가합니다.

{
  "extends": [
    "eslint-config-fronttigger"
    // 확장할 규칙 작성
  ],
  "rules": {
    // 추가할 규칙 작성
  }
}

frontend

React 기반의 프론트엔드 프로젝트라면 아래와 같이 .eslintrc 파일을 작성합니다.

{
  "extends": ["eslint-config-fronttigger/frontend"]
}

Prettier

  1. 사용하는 프로젝트의 package.json scripts 속성에 아래 명령어를 추가합니다.
{
  "prettier": "prettier './src/*.{json,yaml,md,js,ts,tsx}' --check",
  "prettier:fix": "prettier './src/*.{json,yaml,md,js,ts,tsx}' --write"
}
  1. 프로젝트 루트에 .prettierrc 파일을 만들고 추가한 의존성을 작성합니다.
'eslint-config-fronttigger/prettierrc'

Stylelint

  1. 사용하는 프로젝트의 package.json scripts 속성에 아래 명령어를 추가합니다.
{
  "lint:style": "stylelint './src/**/*.{js,ts,tsx}'",
  "lint:style:fix": "stylelint './src/**/*.{js,ts,tsx}' --fix"
}
  1. 프로젝트 루트에 .stylelintrc 파일을 만들고 추가한 의존성을 작성합니다.
{
  "extends": ["eslint-config-fronttigger/stylelint"]
}

Trouble shooting

vscode 환경에서 파일 저장시 AutoFix가 동작하지 않는 경우 settings.json에 아래의 코드를 추가합니다.

"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
  "source.fixAll.stylelint": true,
  "source.fixAll.eslint": true
},
"stylelint.validate": [
  "css",
  "scss",
  "less",
  "postcss",
  "typescriptreact",
  "typescript",
  "javascript",
  "javascriptreact"
],
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
  "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
  "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
  "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
  "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
  "editor.defaultFormatter": "esbenp.prettier-vscode"
},