HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🤎
프론트엔드 데브코스 5기 교육생
/
🦊
고현주팀
/
🏔️
SNS 팀 프로젝트
/
🎙️
프로젝트 컨벤션 회의
/
EslintPrettier

EslintPrettier

주제
ESlint+Prettier
상태
담당자
  • 용재
{ "arrowParens": "always", "bracketSameLine": false, "bracketSpacing": true, "semi": true, "experimentalTernaries": false, "singleQuote": true, "jsxSingleQuote": true, "quoteProps": "as-needed", "trailingComma": "all", "singleAttributePerLine": true, "htmlWhitespaceSensitivity": "css", "vueIndentScriptAndStyle": false, "proseWrap": "preserve", "insertPragma": false, "printWidth": 80, "requirePragma": false, "tabWidth": 2, "useTabs": false, "embeddedLanguageFormatting": "auto" }
 
extends: [ // By extending from a plugin config, we can get recommended rules without having to add them manually. 'eslint:recommended', 'plugin:react/recommended', "plugin:@typescript-eslint/recommended", // ts 기본 추천 규칙 'plugin:import/recommended', 'plugin:jsx-a11y/recommended', "plugin:storybook/recommended", // storybook 규칙 // This disables the formatting rules in ESLint that Prettier is going to be responsible for handling. // Make sure it's always the last config, so it gets the chance to override other configs. 'eslint-config-prettier', ], settings: { react: { // Tells eslint-plugin-react to automatically detect the version of React to use. version: 'detect', }, // Tells eslint how to resolve imports 'import/resolver': { node: { paths: ['src'], extensions: ['.js', '.jsx', '.ts', '.tsx'], }, }, }, rules: { // Add your own rules here to override ones from the extended configs. }, };
 
  • 지희
    • recommended 사용 위주
  • 종운
    • 특별한 preset 없음
    • 불필요한 부분 warning으로 두고
      • 사용해보면서 하나씩 rule에 추가
  • 나현
    • recommended 위주
  • 연경
    • import - 본문 내용 띄어주는 규칙
 
 
 

recommended 기반 + 플젝하면서 불필요한 linting warning 전환 + 필요 linting 추가