naver / eslint-config-naver

Naver JavaScript Coding Conventions rules for eslint
MIT License
221 stars 53 forks source link

eslint 4.0 지원 #11

Closed sculove closed 7 years ago

weumj commented 7 years ago

새로 추가된 rule에 대한 검토입니다.

{
  "padding-line-between-statements": ["error",
    { "blankLine": "any", "prev": "*", "next": "return" },
    { "blankLine": "always", "prev": ["const", "let"], "next": "*" },
    { "blankLine": "any", "prev": ["const", "let"], "next": ["const", "let"]},
    { "blankLine": "always", "prev": "directive", "next": "*" },
    { "blankLine": "never", "prev": "directive", "next": "directive" },
  ],
  "array-element-newline": ["error", "never"],
  "array-bracket-newline": ["error", {"multiline": true}]
}