๐Ÿ“š
Today I Learned at Work
BioGithub
  • Wiki
  • css-in-js
    • styled-components
      • transitent props
  • css
    • ellipsis
      • flex-box์—์„œ n๋ฒˆ์งธ ์ค„๋ถ€ํ„ฐ ellipsis ์ฒ˜๋ฆฌํ•˜๊ธฐ
  • javascript
    • date
      • ์ž๋ฐ”์Šคํฌ๋ฆฝํŠธ Month๊ฐ€ 0๋ถ€ํ„ฐ ์‹œ์ž‘ํ•˜๋Š” ์ด์œ 
  • next-js
    • config
      • Next.js router pathname type-safeํ•˜๊ฒŒ ๊ฐœ๋ฐœํ•˜๊ธฐ
    • library
      • @next/third-parties
  • dev-tools
    • eslint
      • vscode-extension
        • vscode์—์„œ ์ฝ”๋“œ ์ €์žฅ ์‹œ ๋งˆ๋‹ค eslint fixAll ์‹คํ–‰ํ•˜๊ธฐ
    • prettier
      • option
        • --ignore-path
  • html
    • tags
      • video
        • video ํƒœ๊ทธ๋งŒ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•๊ณผ source ํƒœ๊ทธ๋ฅผ ํ•จ๊ป˜ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์˜ ์ฐจ์ด์ 
Powered by GitBook
On this page

Was this helpful?

  1. dev-tools
  2. prettier
  3. option

--ignore-path

prettier์—์„œ format ๋Œ€์ƒ์—์„œ ์ œ์™ธํ•  ์„ค์ • ํŒŒ์ผ์˜ ๊ฒฝ๋กœ๋ฅผ ์ง€์ •ํ•  ์ˆ˜ ์žˆ๋Š” ์˜ต์…˜์ด๋‹ค.

์˜ˆ์‹œ :

{
  "scripts": {
    "format:fix": "prettier --write --ignore-path .gitignore ."
  }
}
PreviousoptionNexthtml

Last updated 9 months ago

Was this helpful?