Skip to content

chore: Lint#153

Merged
daogrady merged 7 commits into
mainfrom
chore/lint
Jun 2, 2026
Merged

chore: Lint#153
daogrady merged 7 commits into
mainfrom
chore/lint

Conversation

@daogrady
Copy link
Copy Markdown
Contributor

@daogrady daogrady commented Jun 2, 2026

I noticed a multitude of lint warnings in the current code. This PR addresses most of them.
The only remaining warnings should come from the complexity rule, for which we currently have 11 violations. The most complex function has a whopping complexity of 84 (getSchema)! I am not sure if that means that we should rework the offending functions, or if we should instead remove this rule from the rule set.

@daogrady daogrady changed the title Lint chore: Lint Jun 2, 2026
Comment thread lib/compile/csdl.js
Comment thread lib/compile/csdl2openapi.js
Comment thread eslint.config.mjs
@daogrady daogrady marked this pull request as ready for review June 2, 2026 07:44
@daogrady daogrady requested a review from tim-sh June 2, 2026 07:44
@daogrady daogrady merged commit ab2585e into main Jun 2, 2026
7 checks passed
@daogrady daogrady deleted the chore/lint branch June 2, 2026 14:38
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.

2 participants