Due to a typo, the allowPartialPeriodInterestCalculation field was not
processed correctly. Since the typo also occurs in some places in the
Fineract API, the typo is re-introduced where needed.
Stop ignoring .js and .json files in prettier and fix existing issues.
The `prettier-plugin-multiline-arrays` plugin is used to split arrays
with multiple elements into one line per element.
Introducing lint-staged with husky to lint files before they are
committed. This will help maintain the code standards in the project.
Also fixes some linting issues that were introduced in other PRs.
HTML files should be included after current issues with htmlhint are
fixed.
The logic to enable and disable surveys was not implemented, and the
state was not shown correctly. The front-end logic now corresponds to
the back-end logic (org.apache.fineract.spm.service.SpmService).
Migrate upgrade stylelint from version 10 to 16 and fix all the
stylelint and prettier issues in scss files.
The following deprecated stylistic rules are no longer supported in
stylelint, and the checks are taken over by prettier:
- string-quotes
- max-empty-lines
- max-line-length
Migrate from the deprecated TSLint to Angluar ESLint. Also fix current
linting issues in the code, in particular:
- Use strict equals operators (=== and !==)
- Remove empty lifecycle methods (mostly ngOnInit)
- Output bindings including aliases should not be named as standard dom
events (submit)
- Async pipe results should not be negated