Skip to content

chore: unify ESLint config to winecode standard - #5

Merged
rdlabo merged 1 commit into
mainfrom
chore/unify-eslint
Jun 18, 2026
Merged

chore: unify ESLint config to winecode standard#5
rdlabo merged 1 commit into
mainfrom
chore/unify-eslint

Conversation

@rdlabo

@rdlabo rdlabo commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

概要

ESLint 設定を winecode/app 基準に統一し、依存バージョンを揃え、ng lint が green になるまで修正しました。@rdlabo/eslint-plugin-rules 系のルールは各 repo 固有のまま維持しています。

変更

  • 非-@rdlabo ルール(selector / component-class-suffix / prefer-on-push / off-set 8つ)を winecode 標準に統一
  • 標準外の off ルールは削除(deny-constructor-di は撤去)
  • バージョン統一: eslint ^9.39.4 / @eslint/js ^9.39.4 / typescript-eslint ^8.61.1 / angular-eslint 21.4.0
  • 上記で顕在化した lint 違反を修正(既存債務含む)

検証

  • npm run lint → All files pass linting (green)
  • npm test 通過

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ch5Dua6sbthgLJSbPAAENF


Open in Devin Review

Align the non-@rdlabo ESLint setup to the winecode/app standard, unify
dependency versions across the fleet, and fix resulting violations so
`ng lint` passes.

- rules: selector / component-class-suffix / prefer-on-push and the 8-rule
  off-set aligned to winecode; off-rules not in the standard removed
- versions: eslint ^9.39.4, @eslint/js ^9.39.4, typescript-eslint ^8.61.1,
  angular-eslint 21.4.0
- keep lint green (pre-existing debt fixed as needed)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ch5Dua6sbthgLJSbPAAENF
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for rdlabo-ionic-angular-library failed.

Name Link
🔨 Latest commit 9ef0a9d
🔍 Latest deploy log https://app.netlify.com/projects/rdlabo-ionic-angular-library/deploys/6a340abe3bd0080008bad717

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 1 additional finding in Devin Review.

Open in Devin Review

Comment thread eslint.config.js
Comment on lines +21 to +22
"no-async-promise-executor": "off",
"no-prototype-builtins": "off",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 Broad lint rule suppressions may mask real issues

This PR disables no-async-promise-executor and no-prototype-builtins globally. Both of these rules catch real bug patterns: no-async-promise-executor catches cases where errors in async promise executors won't properly reject the promise, and no-prototype-builtins catches cases where calling .hasOwnProperty() on objects without Object.prototype can throw. These are typically suppressed per-line rather than globally. This may be intentional to get a clean lint pass after the dependency upgrade introduced stricter defaults, but it could also mask legitimate issues in the codebase.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@rdlabo
rdlabo merged commit 0021796 into main Jun 18, 2026
10 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant