eslint-config-naver
eslint-config-naver copied to clipboard
Naver JavaScript Coding Conventions rules for eslint
``` # npm audit report ansi-regex >2.1.1 =2.0.0 Depends on vulnerable versions of eslint node_modules/eslint-config-naver inquirer 3.2.0 - 7.0.4 Depends on vulnerable versions of string-width Depends on vulnerable versions of...
```sh USERui-MacBook-Pro:driver-license user$ npm audit --registry=https://registry.npmjs.org === npm audit security report === # Run npm update eslint-utils --depth 3 to resolve 1 vulnerability ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Critical │ Arbitrary Code Execution...
1. More JavaScript teams do this (e.g. airbnb, standard, npm, node, google/angular, facebook/react, prettier). 2. It's easier to type (no shift needed on most keyboards). 3. Allows easier write html...
18.6 메서드 체인이 2개를 초과한 경우, 적절히 줄 바꿈을 하여 사용한다. 메서드 체이닝을 하여 줄바꿈을 할 때에는 마침표(.) 다음에 줄 바꿈을 한다. 줄 바꿈 후에는 가독성을 위하여 자동 들여쓰기를 한다....
줄바꿈 방식에 대한 정의는 별도로 없는것 같아 의견 남겨 봅니다. 줄바꿈 방식이 다르면 불필요한 diff 가 발생할 수도 있습니다. > https://help.github.com/articles/dealing-with-line-endings/ 이렇게 git 설정을 하기도 하지만, `.editorconfig` 설정으로 IDE 단에서...
github 에서 tab 크기를 8로 인식하는 것 때문에, 불편한 경험들이 종종 있었습니다. 특히 아래 케이스에서요. 개발툴에서는 주석의 시작 column 위치를 동일하게 맞춰놓았는데, 정작 github 에서는 맞지 않더라구요. 이슈가 있는건 아닌데...
이미 익숙한 분들도 많겠지만.. 스트링 표현시 겹따옴표 보다는 홑따옴표를 기본으로 쓰는것이 `shift` 키를 쓰지 않아도 되고, html 문자열 표현시에도 이점이 있을것 같습니다. 다른분들은 어떠신가요?
-현재는 airbnb 기준으로 이관한 것이고, 추가적으로 적용된 옵션도 추가하자!
예 ```js var stringValue = `첫번째줄 두번째줄 세번째줄`; ```