πŸš€ DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more β†’
Socket
Book a DemoInstallSign in
Socket

@titicaca/eslint-config-triple

Package Overview
Dependencies
Maintainers
114
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@titicaca/eslint-config-triple

Triple's ESLint config, following our styleguide.

latest
Source
npmnpm
Version
5.3.1
Version published
Weekly downloads
1.5K
-0.73%
Maintainers
114
Weekly downloads
Β 
Created
Source

@titicaca/eslint-config-triple

Installation

npm install @titicaca/eslint-config-triple eslint --save-dev

Usage

package.json의 scripts 속성에 λ‹€μŒμ„ μΆ”κ°€ν•΄μ£Όμ„Έμš”.

{
  "scripts": {
    "lint:es": "eslint .",
    "lint:es:fix": "eslint . --fix"
  }
}

.eslintrc.js νŒŒμΌμ„ μƒμ„±ν•˜μ„Έμš”. 컨픽은 μ—¬λŸ¬ μ’…λ₯˜λ‘œ κ΅¬λΆ„λ˜μ–΄ μžˆμ–΄μ„œ ν”„λ‘œμ νŠΈμ— ν•„μš”ν•œ μ»¨ν”½λ§Œ μ΄μ–΄λΆ™μ–΄μ„œ μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

JavaScript, TypeScript μ½”λ“œ 린트 κ·œμΉ™μ„ μ„€μ •ν•˜λ €λ©΄ λ‹€μŒμ„ μΆ”κ°€ν•˜μ„Έμš”.

{
  "extends": ["@titicaca/eslint-config-triple"]
}

TypeScript μ½”λ“œμ—μ„œ νƒ€μž… μ •λ³΄κΉŒμ§€ ν™œμš©ν•œ 더 μ—„κ²©ν•œ κ·œμΉ™μ„ μ‚¬μš©ν•˜λ €λ©΄ λ‹€μŒμ„ μΆ”κ°€ν•˜μ„Έμš”. 이 컨픽도 기본적으둜 μ‚¬μš©ν•˜κΈ°λ₯Ό ꢌμž₯ν•©λ‹ˆλ‹€.

{
  "extends": [
    "@titicaca/eslint-config-triple",
    "@titicaca/eslint-config-triple/requiring-type-checking"
  ]
}

React ν”„λ‘ νŠΈμ—”λ“œ ν”„λ‘œμ νŠΈμ—μ„œλŠ” λ‹€μŒμ„ μΆ”κ°€ν•˜μ„Έμš”.

{
  "extends": [
    // λ‹€λ₯Έ 컨픽...
    "@titicaca/eslint-config-triple/frontend"
  ]
}

Prettierλ₯Ό μ‚¬μš©ν•œλ‹€λ©΄ λ‹€μŒμ„ κ°€μž₯ λ§ˆμ§€λ§‰μ— μΆ”κ°€ν•˜μ„Έμš”.

{
  "extends": [
    // λ‹€λ₯Έ 컨픽...
    "@titicaca/eslint-config-triple/prettier"
  ]
}

Contribute

eslint의 μ΅œμ’… 섀정을 μŠ€λƒ…μƒ·μœΌλ‘œ κΈ°λ‘ν•©λ‹ˆλ‹€.

pnpm run test:snapshot

μƒˆλ‘œμš΄ rule을 μΆ”κ°€ν•˜μ—¬ μŠ€λƒ…μƒ·μ΄ κΉ¨μ‘Œλ‹€λ©΄, μŠ€λƒ…μƒ·μ„ μ—…λ°μ΄νŠΈν•΄μ£Όμ„Έμš”.

pnpm run update-snapshot

κ°œλ°œμ€‘ μŠ€λƒ…μƒ· ν…ŒμŠ€νŠΈλ₯Ό 계속 μˆ˜ν–‰ν•˜κ³  μ‹Άλ‹€λ©΄, watch μ˜΅μ…˜μ„ μ‚¬μš©ν•˜μ„Έμš”.

pnpm run test:snapshot:watch

FAQs

Package last updated on 09 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts