Page History
...
- The Fedora project style guide at Code Style Guide
- The Google Java Style Guide https://google.github.io/styleguide/javaguide.html
DSpace Angular/Typescript Style Guide (for DSpace 7.x and above)
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 to validate the style of all Typescript (*.ts) files.
- All style rules are defined in https://github.com/DSpace/dspace-angular/blob/main/tslint.json
- Most IDEs include a TSLint plugin which can automatically enforce these style rules in your Typescript code.
Overview
Content Tools