Skip to content
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

Fix JSDOC's lint description and type issues #1278

Merged
merged 5 commits into from
Aug 21, 2024

Conversation

jonathangoulding
Copy link
Collaborator

@jonathangoulding jonathangoulding commented Aug 21, 2024

DEFRA/water-abstraction-team#125

Building on from previous work of using eslint to handle out code conventions this change will use the auto fix feature of eslint and fix any errors relating to a jsoc description not having a - to separate and also fix any types that are incorrectly named i.e Object shoudl dbe object.

Some of the more complex changes such as adding returns and parameters to the jsdocs will be left to be done as when the file is touched or when time permits addressing tech debt.

Previous work #1269

Building on from previous work of using eslint to handle out code conventions this change will use the auto fix feature of eslint and fix any errors relating to a jsoc description not having a - to separate and also fix any types that are incorrectly named i.e Object shoudl dbe object.

Some of the more complex changes such as adding returns and parameters to the jsdocs will be left to be done as when the file is touched or when time permits addressing tech debt.
Previous work #1269

Building on from previous work of using eslint to handle out code conventions this change will use the auto fix feature of eslint and fix any errors relating to a jsoc description not having a - to separate and also fix any types that are incorrectly named i.e Object shoudl dbe object.

Some of the more complex changes such as adding returns and parameters to the jsdocs will be left to be done as when the file is touched or when time permits addressing tech debt.
@jonathangoulding jonathangoulding self-assigned this Aug 21, 2024
@jonathangoulding jonathangoulding added the housekeeping Refactoring, tidying up or other work which supports the project label Aug 21, 2024
.eslintrc.js Outdated Show resolved Hide resolved
jonathangoulding and others added 2 commits August 21, 2024 11:34
Co-authored-by: Alan Cruikshanks <[email protected]>
…c-description

# Conflicts:
#	app/services/plugins/hapi-pino-ignore-request.service.js
@Cruikshanks Cruikshanks self-requested a review August 21, 2024 10:42
@jonathangoulding jonathangoulding merged commit a892185 into main Aug 21, 2024
6 checks passed
@jonathangoulding jonathangoulding deleted the fix-jsdoc-description branch August 21, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, tidying up or other work which supports the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants