🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

eslint-config-7ylee

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-7ylee

ESLint & Prettier Config

latest
npmnpm
Version
0.0.2
Version published
Weekly downloads
10
42.86%
Maintainers
1
Weekly downloads
 
Created
Source

Eslint & Prettier 설정

npm code style: prettier

설치

npx install-peerdeps --dev eslint-config-7ylee

프로젝트 .eslintrc 파일

{
  "extends": [
    "7ylee"
  ]
}

VSCode 설정

  • ESLint Extension 설치
  • 에디터 설정 파일 수정:
    • 에디터 설정 파일 여는 방법: cmd + shift + p => > Preferences: Open Settings (JSON)
  // 에디터 디폴트 -문서 저장시 포맷팅 기능 활성화
  "editor.formatOnSave": true,
  // JS & JSX 는 비활성화 - eslint로 포맷팅 하기 위해 에디터 디폴트 기능은 해제합니다.
  "[javascript]": {
      "editor.formatOnSave": false
  },
  "[javascriptreact]": {
      "editor.formatOnSave": false
  },
  // ESLint 플러그인의 저장시 수정 기능 활성화
  "eslint.autoFixOnSave": true,
  // !필수 아님
  // VScode의 Prettier Extension이 설치 되어있으면 JS & JSX 자동 포맷팅 비활성화 
  "prettier.disableLanguages": ["javascript", "javascriptreact"],

Keywords

eslint

FAQs

Package last updated on 08 Sep 2019

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