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

hia-frontend-stylelint-config

v0.0.3

Published

HIA 공통 Stylelint 설정

Readme

hia-frontend-stylelint-config

HIA AI 프로젝트 공통 Stylelint 설정 패키지입니다. stylelint-config-sales-frontend 기반으로 HIA 전용 규칙을 추가합니다.

설치

pnpm add -D hia-frontend-stylelint-config stylelint

stylelint-config-standard, stylelint-config-recess-order 등 peerDependencies는 .npmrcauto-install-peers=true 설정 시 자동으로 설치됩니다.

.npmrc

auto-install-peers=true

사용법

// .stylelintrc.js
module.exports = {
  extends: ['hia-frontend-stylelint-config']
};

프로젝트 전용 규칙이 필요하면 덮어쓸 수 있습니다.

// .stylelintrc.js
module.exports = {
  extends: ['hia-frontend-stylelint-config'],
  rules: {
    'color-hex-length': 'long'
  }
};

적용 규칙

속성 순서 (recess-order 기반)

아래 순서로 CSS 속성을 작성해야 합니다.

1. Positioning   position, top, right, bottom, left, z-index
2. Box Model     display, width, height, margin, padding, border
3. Typography    font, color, text-align, line-height
4. Visual        background, opacity, box-shadow
5. Animation     transition, transform, animation

기타

| 규칙 | 설명 | | --------------------------------------- | --------------------------------------- | | at-rule-no-unknown | off (SCSS @mixin, @include 등 허용) | | selector-pseudo-class-no-unknown | off (:global, :local 등 허용) | | declaration-property-value-no-unknown | off |

SCSS 지원

**/*.{scss,sass} 파일에 대해 postcss-scss 커스텀 구문이 자동 적용됩니다.

// 사용 가능
$color: #fff;

@mixin flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

peerDependencies

| 패키지 | 버전 | | ------------------------------- | ---------- | | stylelint | ^16.18.0 | | stylelint-config-standard | ^38.0.0 | | stylelint-config-recess-order | ^6.0.0 | | postcss-scss | ^4.0.9 |