This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/fineract-consumer-facing.git
from 31fc360 Merge pull request #167 from
Aman-Mittal/ci/native-build-memory
add 0be80b4 build: add Error Prone, SpotBugs and Modernizer to the BFF
build
add b231af8 chore(frontend): add unicorn, security and import-x lint rules
add 1239ac3 ci: run SpotBugs, Modernizer and the ESLint rule tests;
document the analyzers
add 2994006 docs: state SpotBugs' licence and why it is acceptable as a
build tool
new bd16bef Merge pull request #171 from Aman-Mittal/build/static-analysis
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/build-tests-backend.yml | 13 +
.github/workflows/prettier-eslint.yaml | 3 +
consumer/build.gradle | 74 ++
consumer/config/spotbugs/exclude.xml | 68 ++
.../command/data/AuditRetentionProperties.java | 2 +-
.../query/service/OpenBankingQueryServiceImpl.java | 8 +-
.../consumer/cucumber/steps/OpenBankingSteps.java | 4 +
.../consumer/cucumber/steps/ProfileSteps.java | 2 +
.../infrastructure/jwt/service/JwtIssuerTest.java | 6 +-
docs/consumer/development/build-and-test.adoc | 24 +-
docs/frontend/development/build-and-test.adoc | 17 +
frontend/eslint-rules/cognitive-complexity.js | 295 ++++++
frontend/eslint-rules/cognitive-complexity.test.js | 221 ++++
frontend/eslint.config.js | 86 ++
frontend/package-lock.json | 1076 ++++++++++++++++++--
frontend/package.json | 5 +
frontend/src/app/core/audit/pii-scrub.ts | 8 +-
.../interceptors/correlation-id.interceptor.ts | 4 +-
.../src/app/core/interceptors/error.interceptor.ts | 2 +-
.../app/features/consent/consent.component.spec.ts | 1 +
frontend/src/app/features/demo/demo.component.ts | 4 +-
.../features/transfers/transfer-form.component.ts | 2 +-
frontend/src/app/layout/shell.component.ts | 2 +-
23 files changed, 1846 insertions(+), 81 deletions(-)
create mode 100644 consumer/config/spotbugs/exclude.xml
create mode 100644 frontend/eslint-rules/cognitive-complexity.js
create mode 100644 frontend/eslint-rules/cognitive-complexity.test.js