| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
✅ Changeset detectedLatest commit: 03895b7 @naverpay/oxlint-config package have detected changes. If no version change is needed, please add skip-detect-change to the label. The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
|
Sorry, something went wrong.
|
/canary-publish |
Sorry, something went wrong.
Published Canary Packages@naverpay/oxlint-config@0.1.0-canary.260701-814c2a0 |
Sorry, something went wrong.
|
/canary-publish |
Sorry, something went wrong.
Published Canary Packages@naverpay/oxlint-config@0.1.0-canary.260701-d925f10 |
Sorry, something went wrong.
카나리 검증 피드백 (0.1.0-canary.260701-d925f10)적용중이던 레포에서 카나리 react 프리셋을 실제 코드베이스에 적용해 검증했습니다. ✅ 정상 동작
⚠️ 보완 이슈 2건 → 근본 원인: extends가 env/globals/categories를 상속하지 않음처음엔 프리셋 설정 부재로 봤는데, 파고들어보니 oxlint의 extends는 rules/plugins/jsPlugins만 병합하고 env/globals/categories는 무시합니다 (oxlint 1.71.0/1.72.0 둘 다 확인). 이건 프리셋 코드 수정으로 해결 불가능합니다. 1. unicorn/* 룰이 의도치 않게 발화 (5건)
2. no-undef false positive (6건: require, module, process, __dirname, console)
버전 검증
대응
|
Sorry, something went wrong.
카나리(0.1.0-canary.260701-d925f10) react 프리셋을 card-apply-web에서 검증한 결과, oxlint의 extends는 rules/plugins/jsPlugins만 병합하고 env/globals/categories는 상속하지 않음을 확인 (oxlint 1.71.0/1.72.0, oxc#20087). - categories 미상속 → unicorn/* 룰 의도치 않은 발화 - env 미상속 → no-undef가 require/module/process 등을 false positive로 잡음 - 프리셋에 globals 직접 추가해도 extends로 상속되지 않아 해결 불가 (검증 완료) README의 Node.js/React 예시에 env/categories를 소비자 최상위에 직접 작성하도록 안내하고, 한계를 명시하는 Note 추가. Co-Authored-By: Claude <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Related Issue
#164
Describe your changes
@naverpay/eslint-config의 react 프리셋을 기준으로 @naverpay/oxlint-config에 react 프리셋을 신설하고, oxlint 네이티브에 없는 룰 중 문자열 포맷으로 로드 가능한 jsPlugins 2종을 추가했습니다.
1. react 프리셋 (native)
2. jsPlugins 룰 (string 포맷, oxlint@>=1.0 호환 유지)
함께 반영 (code-style-cli 문서 수정)
검증
범위 외 (후속 · Phase B)
import/order(eslint-plugin-import)와 react 옵션 오버라이드(eslint-plugin-react)는 import/react 네임스페이스가 예약되어 문자열 포맷으로 로드 불가합니다. rename이 되는 객체 포맷이 필요하고 이는 oxlint 상향(및 1.x 하위호환 포기)을 수반하므로 별도 작업으로 분리합니다.