Skip to content

Commit 06b42e5

Browse files
fix linting errors
1 parent 6893aef commit 06b42e5

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"debug": "JEKYLL_ENV=development BUNDLE_GEMFILE=Gemfile bundle exec jekyll serve --config _config.yml,_config.dev.yml,_config.version.yml --limit_posts 100 --trace",
1616
"generate-includes": "./generate-includes.sh",
1717
"lint": "echo \"Documentation module has no code to lint\"",
18+
"lint:fix": "echo \"Documentation module has no code to lint\"",
1819
"test:unit": "echo \"Documentation module has no unit tests\"",
1920
"typecheck": "echo \"Documentation module has no typescript to typecheck\""
2021
},

pact-contracts/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
{
2-
"name": "@nhsdigital/notify-supplier-api-consumer-contracts",
3-
"version": "1.0.1",
42
"description": "NHS Notify Supplier API Pact contracts",
5-
"license": "MIT",
6-
"repository": {
7-
"type": "git",
8-
"url": "git+ssh://git@github.com/NHSDigital/nhs-notify-supplier-api.git"
9-
},
103
"exports": {
114
"./pacts/*.json": {
125
"default": "./pacts/*.json"
136
}
147
},
8+
"license": "MIT",
9+
"name": "@nhsdigital/notify-supplier-api-consumer-contracts",
1510
"publishConfig": {
1611
"access": "public",
1712
"registry": "https://npm.pkg.github.com"
1813
},
14+
"repository": {
15+
"type": "git",
16+
"url": "git+ssh://git@github.com/NHSDigital/nhs-notify-supplier-api.git"
17+
},
1918
"scripts": {
2019
"lint": "echo Linting not required",
20+
"lint:fix": "echo Linting not required",
2121
"test:unit": "echo Unit tests not required",
2222
"test:unit:coverage": "echo Unit tests not required",
2323
"typecheck": "echo Typecheck not required"
24-
}
24+
},
25+
"version": "1.0.1"
2526
}

tests/config/performance/performance-teardown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default async function performanceTeardown() {
1212
return;
1313
}
1414

15-
const originalEnv = JSON.parse(fs.readFileSync(ORIGINAL_ENV, "utf-8"));
15+
const originalEnv = JSON.parse(fs.readFileSync(ORIGINAL_ENV, "utf8"));
1616

1717
await updateLambdaEnv(UPSERT_LETTER_LAMBDA_ARN, originalEnv);
1818
fs.unlinkSync(ORIGINAL_ENV);

tests/helpers/aws-lambda-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
2-
LambdaClient,
3-
GetFunctionConfigurationCommandOutput,
42
GetFunctionConfigurationCommand,
3+
GetFunctionConfigurationCommandOutput,
4+
LambdaClient,
55
UpdateFunctionConfigurationCommand,
66
} from "@aws-sdk/client-lambda";
77
import { AWS_REGION } from "tests/constants/api-constants";

0 commit comments

Comments
 (0)