Skip to content

CE-2585: Initial typescript setup

Johanna Szepanski requested to merge CE-2585-initial-typescript-setup into develop

The migrating to typescript task is divided into two subtasks, one intitial setup (this MR) and one to deal with types(https://jira.esss.lu.se/browse/CE-2586). Types task will probably benefit from the redux-rtk implementation (generating types based on api response data models).

Linting rules are the same as for Naming.

I have tested the components where linting fixes had to be made, but would appreciate if you could pay some extra attention to:

src/components/generate/ConfigFileSelector/ConfigFileSelector.js

src/components/generate/GenerateTemplate/GenerateTemplate.js

src/components/generate/TemplateFiles/TemplateFiles.js

where I needed to find another solution to nested tenary operations

Note: remember to run npm ci (new packages in this MR)

Edited by Johanna Szepanski

Merge request reports