-
Notifications
You must be signed in to change notification settings - Fork 156
refactor: code simplification #627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
commit: |
fixup! biome
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a question, and i don't know the answer. I need to run some test to be sure.
If you know the answer then the rest LGTM and you can merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks
…ns and ignore rule" This reverts commit b2a8203. Resolved here: opennextjs#627 (comment)
* chore(lint): restore useArrowFunction fixes for bound functions and ignore rule * chore(lint): remove linter rules from config * chore(lint): fix noVar rule and remove from config - Fixed linting issues related to the rule - Restored the rule to default settings * chore(lint): fix noImplicitAnyLet rule and remove from config - Fixed linting issues related to the rule - Restored the rule to default settings * chore(lint): fix noGlobalIsNan rule and remove from config - Fixed linting issues related to the rule - Restored the rule to default settings * chore(lint): fix noUselessElse rule and remove from config * chore(lint): fix useNodejsImportProtocol rule and remove from config * chore(lint): fix useTemplate rule and remove from config * chore(lint): fix useDefaultParameterLast rule and remove from config * chore(lint): fix useSingleVarDeclarator rule and remove from config * chore(lint): fix noSwitchDeclarations rule and remove from config * chore(lint): fix useLiteralKeys rule and remove from config * chore(lint): fix noUselessSwitchCase rule and remove from config * chore(lint): fix noUselessConstructor rule and remove from config * chore(lint): fix noUselessTernary rule and remove from config * chore(lint): fix noExtraBooleanCast rule and remove from config * chore(lint): fix useOptionalChain rule and remove from config * chore(lint): fix noUnusedTemplateLiteral rule and remove from config * chore(lint): fix noAccumulatingSpread rule and remove from config * chore(lint): ignore linter warnings * chore(lint): update linter rules config * chore(lint): remove <explanation> placeholder in biome-ignore comments * Revert "chore(lint): restore useArrowFunction fixes for bound functions and ignore rule" This reverts commit b2a8203. Resolved here: #627 (comment) * fixup! chore(lint): ignore linter warnings
A few refactors I had accumulated in a branch.
Some of them depends on recent TS which is why it's updated.
Contains the auto fixes from biome