Investigate the use of require and module export in startServer.js #10005
Labels
Good first issue
investigation
technical-work
Technical debt, support work and building new technical tools and features
Is your feature request related to a problem? Please describe.
After a discussion about upgrading eslint-config-airbnb to v19. As pointed out by the new rule import/no-import-module-exports. We should not import a module that has been exported with the module export.
Describe the solution you'd like
Please investigate the use of
require
to import the modules in startServer.js that are exported with amodule.export
method and implement this solution if everything works as expected.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Testing notes
[Tester to complete]
Dev insight: Will Cypress tests be required or are unit tests sufficient? Will there be any potential regression? etc
Checklist
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: