https://github.com/dhis2/cli-style
DHIS2 code style
https://github.com/dhis2/cli-style
cli synced-settings
Last synced: 11 months ago
JSON representation
DHIS2 code style
- Host: GitHub
- URL: https://github.com/dhis2/cli-style
- Owner: dhis2
- License: bsd-3-clause
- Created: 2018-05-31T14:15:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-06-26T09:47:40.000Z (12 months ago)
- Last Synced: 2025-06-26T09:52:15.106Z (12 months ago)
- Topics: cli, synced-settings
- Language: JavaScript
- Homepage:
- Size: 1.39 MB
- Stars: 2
- Watchers: 22
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# cli-style
> This package is part of the [@dhis2/cli](https://github.com/dhis2/cli)
> commandline interface.
[](https://github.com/dhis2/cli)
[](https://www.npmjs.com/package/@dhis2/cli-style)
[](https://conventionalcommits.org)
Docs are available at [cli-style.dhis2.nu](https://cli-style.dhis2.nu).
## Batteries included
This tool is part of the [dhis2/cli](https://github.com/dhis2/cli)
suite, but can also be used standalone which is useful for project level
integration.
As a terminal user check out the full CLI. :rocket:
This tool includes the following tools as runtime dependencies, so they
are not necessary to explicitly install:
- [Commitlint](https://commitlint.js.org)
- [ESLint](https://eslint.org/)
- [Husky](https://github.com/typicode/husky)
- [Prettier](https://prettier.io)
- [Stylelint](https://stylelint.io/)
- [ls-lint](https://ls-lint.org/)
## Usage
```
yarn d2-style --help
yarn d2-style install --help
yarn d2-style check --help
yarn d2-style check js --help
yarn d2-style apply --help
yarn d2-style apply text --help
```
## Report an issue
The issue tracker can be found in [DHIS2 JIRA](https://jira.dhis2.org)
under the [CLI](https://jira.dhis2.org/projects/CLI) project.
Deep links:
- [Bug](https://jira.dhis2.org/secure/CreateIssueDetails!init.jspa?pid=10703&issuetype=10006&components=11020)
- [Feature](https://jira.dhis2.org/secure/CreateIssueDetails!init.jspa?pid=10703&issuetype=10300&components=11020)
- [Task](https://jira.dhis2.org/secure/CreateIssueDetails!init.jspa?pid=10703&issuetype=10003&components=11020)