simorgh icon indicating copy to clipboard operation
simorgh copied to clipboard

Investigate the use of require and module export in startServer.js

Open DarioR01 opened this issue 2 years ago • 0 comments

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 a module.export method and implement this solution if everything works as expected.

image

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

  • [x] This feature is expected to need manual testing.

Checklist

Additional context Add any other context or screenshots about the feature request here.

DarioR01 avatar Mar 30 '22 14:03 DarioR01