Skip to content

[eslint-plugin] 신규 플러그인 / 룰 검토 #58

@yceffort-naver

Description

@yceffort-naver

O

  • eslint-config-standard 제거
    • neostandards 로 대체
  • eslint-plugin-yml
    • 현재 yaml은 prettier 에 위임하고 있지만,
    • fomatting -> prettier, 외에 룰 도입

strict config 추가

  • eslint-plugin-sonarjs 보류
    • 신규 프로젝트에는 괜찮을듯하지만, 기존 프로젝트에는 파급력이 커보임
    • eslint-plugin-unicorn랑 충돌나는 옵션 고려 필요
  • eslint-plugin-unicorn 보류
    • 위와 동일한 이유

X

  • eslint-plugin-node 대신 eslint-plugin-n 으로 (업데이트가 느려터짐)
    • eslint-plugin-node 제거 됌
  • eslint-plugin-workspaces 보류
    • 현재 코드에 변경사항이 크지 않다면 적용해볼만함
    • 워크스페이스 아닌 환경 고려
  • eslint-plugin-compat 보류
    • 플러그인은 맘에 들지만 browserlist 기반으로 동작해, 사용하는 쪽에서 별도의 설정이 필요하다는 내용을 명시해줘야함
  • eslint-plugin-vitest 보류
    제공자 입장에서 대상 파일을 선언하는 방식은 지양하기 위해 보류
    export default [
        js.configs.recommended,
        {
            files: ['**/__tests__/**', '**/tests/**', '**/*{.,_}{test,spec}.{js,cjs,mjs,jsx,ts,cts,mts,tsx}'],
            ...vitest.configs.recommended,
        },
    ]
  • eslint-plugin-css-modules
    • Project status: NOT MAINTAINED
  • eslint-plugin-deprecation
    -> deprecated // https://typescript-eslint.io/rules/no-deprecated
    n/no-deprecated-api 가 역할을 하고 있는 것으로 보임

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions