Browse Source

Task/skip warning-level lint rules in CI and pre-commit (#8313)

* Skip warning-level lint rules

* Update changelog
pull/8332/head^2
Szymon Łągiewka 5 hours ago
committed by GitHub
parent
commit
3e5aa3fe48
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/build-code.yml
  2. 10
      .husky/pre-commit
  3. 2
      CHANGELOG.md

2
.github/workflows/build-code.yml

@ -30,7 +30,7 @@ jobs:
run: npm ci run: npm ci
- name: Check code style - name: Check code style
run: npm run lint run: npm run lint -- --quiet
- name: Check formatting - name: Check formatting
run: npm run format:check run: npm run format:check

10
.husky/pre-commit

@ -1,6 +1,6 @@
# Run linting and stop the commit process if any errors are found # Run linting on staged and unstaged changes and stop if any errors are found
# --quiet suppresses warnings (temporary until all warnings are fixed) # --quiet skips warning-level rules (temporary until all warnings are fixed)
npm run affected:lint --base=main --head=HEAD --parallel=2 --quiet || exit 1 npm run affected:lint -- --uncommitted --parallel=2 --quiet || exit 1
# Check formatting on modified and uncommitted files, stop the commit if issues are found # Check formatting on staged and unstaged changes and stop if any issues are found
npm run format:check --uncommitted || exit 1 npm run format:check -- --uncommitted || exit 1

2
CHANGELOG.md

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Restricted the health check endpoint of the AI service (`GET api/v1/health/ai`) to administrators - Restricted the health check endpoint of the AI service (`GET api/v1/health/ai`) to administrators
- Increased the timeout in the health check endpoint of the AI service to 30 seconds - Increased the timeout in the health check endpoint of the AI service to 30 seconds
- Deprecated the `api/v1/access` endpoints in favor of the `api/v1/accesses` endpoints - Deprecated the `api/v1/access` endpoints in favor of the `api/v1/accesses` endpoints
- Improved the performance of the code style check in the build workflow by skipping the warning-level rules of _ESLint_
- Refreshed the cryptocurrencies list - Refreshed the cryptocurrencies list
### Fixed ### Fixed
@ -20,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed the double submission of forms in the account detail dialog, the create or update access dialog, the historical market data editor, the import activities dialog, the coupon system and the create asset profile dialog of the admin control panel - Fixed the double submission of forms in the account detail dialog, the create or update access dialog, the historical market data editor, the import activities dialog, the coupon system and the create asset profile dialog of the admin control panel
- Fixed an issue where users could grant a private access to themselves - Fixed an issue where users could grant a private access to themselves
- Fixed the status code of the endpoints to add and delete a benchmark if the asset profile does not exist - Fixed the status code of the endpoints to add and delete a benchmark if the asset profile does not exist
- Fixed the git-hook via `husky` to lint and check the formatting of the uncommitted changes before a commit
## 3.93.0 - 2026-10-25 ## 3.93.0 - 2026-10-25

Loading…
Cancel
Save