Page History
...
Info | ||
---|---|---|
| ||
The DSpace Typescript Style Guide is enforced on all Pull Requests to the "main" branch. Therefore, if a Pull Request to the "main" branch does not align with the below Style Guide, it will fail the build process within our GitHub CI.
|
For the DSpace Angular UI (written in TypeScript), we use TSLint ESLint to validate the style of all Typescript (*.ts) files.
- All style rules are defined in https://github.com/DSpace/dspace-angular/blob/main/tslint.eslintrc.json
- Most IDEs include a TSLint ESLint plugin which can automatically enforce these style rules in your Typescript code.
Overview
Content Tools