chore(23528): add TODO for linting @typescript-eslint/naming-convention#32021
chore(23528): add TODO for linting @typescript-eslint/naming-convention#32021DDDDDanica wants to merge 1 commit intomainfrom
@typescript-eslint/naming-convention#32021Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
✨ Files requiring CODEOWNER review ✨✅ @MetaMask/confirmations
🪪 @MetaMask/identity
🔄 @MetaMask/swaps-engineers
|
fb5d772 to
de55992
Compare
Builds ready [de55992]
UI Startup Metrics (1207 ± 62 ms)
Bundle size diffs
|
Builds ready [2ee0243]
UI Startup Metrics (1206 ± 60 ms)
Bundle size diffs
|
2ee0243 to
dd4e069
Compare
Builds ready [dd4e069]
UI Startup Metrics (1203 ± 57 ms)
Bundle size diffs
|
Builds ready [dfb691f]
UI Startup Metrics (1221 ± 74 ms)
Bundle size diffs
|
Builds ready [20ed87b]
UI Startup Metrics (1209 ± 63 ms)
|
d3fee30
d3fee30 to
96c1e19
Compare
Builds ready [d3fee30]
UI Startup Metrics (1213 ± 69 ms)
|
Builds ready [96c1e19]
UI Startup Metrics (1197 ± 59 ms)
|
|
I noticed that the imported names were flagged in a lot of places here. This was unintended, and we recently loosened this rule in the config repo to be more accepting of different import names: MetaMask/eslint-config#388 Perhaps we could bring those config changes in early here, and drop those lint violations? We do want to keep using capitalized imports for imported classes I think. Let me know if you'd prefer to make those changes here, or in a later PR. |
|
@Gudahtt thanks for sharing the updates ! Actually currently all the todos are made against v12.0.0 as after that we need a migration of eslint for extension to be able to achieve further migration to v14.0.0. What we can do is to have an override for the current rule in extension, which will be the exact same as the PR you showed me. So we can achieve all in 1 PR. WdYt ? |
An override is exactly what I meant to suggest, sorry for the miscommunication. This sounds great. |
ac7a660
96c1e19 to
ac7a660
Compare
|
Closed due to an updated rule, and new directives are collected in https://github.com/MetaMask/metamask-extension/pull/32106/files |
Description
This PR addresses TypeScript ESLint error
@typescript-eslint/naming-conventionacross the repository following the planned upgrade to@metamask/eslint-configv12.0.0(release notes here). For@typescript-eslint/naming-conventionviolations:@typescript-eslint/naming-conventionviolations #31860This approach follows our strategy for handling ESLint upgrades. The comprehensive fixes for these typing issues will be addressed in dedicated PRs to avoid blocking development.
Related issues
Fixes: #23528
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist