Skip to content

Commit fff2548

Browse files
committed
prettier fixes
1 parent 1e123e8 commit fff2548

File tree

9 files changed

+71
-72
lines changed

9 files changed

+71
-72
lines changed

.circleci/config.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ commands:
2525
- when:
2626
condition: << parameters.node-version >>
2727
steps:
28-
- run: volta pin node@<< parameters.node-version >>
28+
- run: volta pin node@<< parameters.node-version >>
2929
- run: node --version
3030
- run: npm --version
3131
- node/install-packages
@@ -36,7 +36,7 @@ jobs:
3636
node-version:
3737
type: string
3838
docker:
39-
- image: cimg/base:stable
39+
- image: cimg/base:stable
4040
steps:
4141
- setup-node:
4242
node-version: <<parameters.node-version>>
@@ -46,14 +46,14 @@ jobs:
4646

4747
Prettier:
4848
docker:
49-
- image: cimg/base:stable
49+
- image: cimg/base:stable
5050
steps:
5151
- setup-node
5252
- run: npm run prettier-check
5353

5454
Spell Check:
5555
docker:
56-
- image: cimg/base:stable
56+
- image: cimg/base:stable
5757
steps:
5858
- setup-node
5959
- run: npm run spell-check
@@ -67,8 +67,8 @@ workflows:
6767
matrix:
6868
parameters:
6969
node-version:
70-
- "14"
71-
- "16"
72-
- "18"
70+
- '14'
71+
- '16'
72+
- '18'
7373
- Prettier
74-
- Spell Check
74+
- Spell Check

.devcontainer/devcontainer.json

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "Debian",
3-
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
4-
"features": {
5-
"ghcr.io/devcontainers/features/github-cli:1": {},
6-
"ghcr.io/devcontainers/features/node:1": {},
7-
"ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {}
8-
},
9-
10-
"forwardPorts": [7071],
11-
12-
"postCreateCommand": ". ${NVM_DIR}/nvm.sh && nvm install && npm install",
13-
14-
"extensions": [
15-
"esbenp.prettier-vscode",
16-
"dbaeumer.vscode-eslint",
17-
"streetsidesoftware.code-spell-checker",
18-
"ms-azuretools.vscode-azurefunctions",
19-
"ms-azuretools.vscode-azurestorage",
20-
"GitHub.vscode-pull-request-github",
21-
"Azurite.azurite"
22-
]
2+
"name": "Debian",
3+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers/features/github-cli:1": {},
6+
"ghcr.io/devcontainers/features/node:1": {},
7+
"ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {}
8+
},
9+
10+
"forwardPorts": [7071],
11+
12+
"postCreateCommand": ". ${NVM_DIR}/nvm.sh && nvm install && npm install",
13+
14+
"extensions": [
15+
"esbenp.prettier-vscode",
16+
"dbaeumer.vscode-eslint",
17+
"streetsidesoftware.code-spell-checker",
18+
"ms-azuretools.vscode-azurefunctions",
19+
"ms-azuretools.vscode-azurestorage",
20+
"GitHub.vscode-pull-request-github",
21+
"Azurite.azurite"
22+
]
2323
}

renovate.json5

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"extends": [
3-
"config:js-lib",
4-
"group:allNonMajor",
5-
"group:jestPlusTSJest",
6-
"group:jestPlusTypes",
2+
extends: [
3+
'config:js-lib',
4+
'group:allNonMajor',
5+
'group:jestPlusTSJest',
6+
'group:jestPlusTypes',
77
// Our default configuration. See
88
// https://github.com/apollographql/renovate-config-apollo-open-source/blob/master/package.json
9-
"apollo-open-source",
9+
'apollo-open-source',
1010
],
11-
"packageRules": [
11+
packageRules: [
1212
// We set this to the lowest supported Node.js version to ensure we don't
1313
// use newer Node.js APIs unknowingly during development which are going to
1414
// fail in CI anyway when they're run against the full range of Node.js
1515
// versions we support.
1616
{
17-
"matchPackageNames": ["@types/node"],
18-
"allowedVersions": "14.x"
17+
matchPackageNames: ['@types/node'],
18+
allowedVersions: '14.x',
1919
},
2020
],
2121
}

src/sample/graphql/function.json

+16-17
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
2-
"bindings": [
3-
{
4-
"authLevel": "function",
5-
"type": "httpTrigger",
6-
"direction": "in",
7-
"name": "req",
8-
"methods": ["get", "post"]
9-
},
10-
{
11-
"type": "http",
12-
"direction": "out",
13-
"name": "$return"
14-
}
15-
],
16-
"scriptFile": "../../../dist/sample/graphql/index.js"
17-
}
18-
2+
"bindings": [
3+
{
4+
"authLevel": "function",
5+
"type": "httpTrigger",
6+
"direction": "in",
7+
"name": "req",
8+
"methods": ["get", "post"]
9+
},
10+
{
11+
"type": "http",
12+
"direction": "out",
13+
"name": "$return"
14+
}
15+
],
16+
"scriptFile": "../../../dist/sample/graphql/index.js"
17+
}

src/sample/host.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"version": "2.0",
3-
"logging": {
4-
"applicationInsights": {
5-
"samplingSettings": {
6-
"isEnabled": true,
7-
"excludedTypes": "Request"
8-
}
2+
"version": "2.0",
3+
"logging": {
4+
"applicationInsights": {
5+
"samplingSettings": {
6+
"isEnabled": true,
7+
"excludedTypes": "Request"
98
}
10-
},
11-
"extensionBundle": {
12-
"id": "Microsoft.Azure.Functions.ExtensionBundle",
13-
"version": "[3.*, 4.0.0)"
149
}
15-
}
10+
},
11+
"extensionBundle": {
12+
"id": "Microsoft.Azure.Functions.ExtensionBundle",
13+
"version": "[3.*, 4.0.0)"
14+
}
15+
}

tsconfig.base.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"types": ["node"],
2424
"baseUrl": ".",
2525
"paths": {
26-
"*" : ["types/*"]
26+
"*": ["types/*"]
2727
}
2828
}
2929
}

tsconfig.build.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "./tsconfig.base.json",
33
"include": ["src/**/*"],
4-
"exclude": ["**/__tests__"],
4+
"exclude": ["**/__tests__"]
55
}

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"include": [],
77
"references": [
88
{ "path": "./tsconfig.build.json" },
9-
{ "path": "./tsconfig.test.json" },
9+
{ "path": "./tsconfig.test.json" }
1010
]
11-
}
11+
}

tsconfig.test.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"noEmit": true,
66
"types": ["node", "jest"]
77
}
8-
}
8+
}

0 commit comments

Comments
 (0)