Browse Source

lint

pull/2795/head
Kat 8 months ago
parent
commit
145da0f21d
  1. 1
      docs/exports.md
  2. 1
      docs/form/definition.md
  3. 2
      docs/form/question.md
  4. 2
      docs/form/section.md
  5. 3
      docs/setup.md

1
docs/exports.md

@ -9,6 +9,7 @@ All data collected by the application needs to be exported to the Consolidated D
This is done via XML exports saved in an S3 bucket.
We currently export lettings logs, users and organisations.
The data mapping for these exports can be found in:
- Lettings logs `app/services/exports/lettings_log_export_service.rb`
- Organisations `app/services/exports/organisation_export_service.rb`
- Users `app/services/exports/user_export_service.rb`

1
docs/form/definition.md

@ -15,7 +15,6 @@ The current system is built around a form definition constructed from various Fo
- Edit end date: the end date for editing any existing logs for this form
- Sections: the sections in the form, this block is where the bulk of the form definition will be.
Note that the end date of one form will overlap the start date of another to allow for late submissions. This means that every year there will be a period of time in which two forms are running simultaneously.
A form is split up is as follows:

2
docs/form/question.md

@ -49,7 +49,7 @@ the `hidden_in_check_answers` is used to hide a value from displaying on the che
@hidden_in_check_answers = {
"depends_on" => [
{ "age6_known" => 0 },
{ "age6_known" => 1 }
{ "age6_known" => 1 }
]
}
```

2
docs/form/section.md

@ -18,7 +18,7 @@ class Form::Sales::Sections::TenancyAndProperty < ::Form::Section
@label = "Property and tenancy information"
@description = ""
@subsections = [
Form::Sales::Subsections::PropertyInformation.new(nil, nil, self),
Form::Sales::Subsections::PropertyInformation.new(nil, nil, self),
Form::Sales::Subsections::TenancyInformation.new(nil, nil, self)
]
end

3
docs/setup.md

@ -92,11 +92,10 @@ We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage NodeJS version
brew install yarn
```
Linux (Debian):
```bash
curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -
curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -
sudo apt -y install nodejs
mkdir -p ~/.npm-packages
npm config set prefix ~/.npm-packages

Loading…
Cancel
Save