Skip to content

Commit

Permalink
styling: prettier pass on everything
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Nov 9, 2022
1 parent 0080f73 commit f10219b
Show file tree
Hide file tree
Showing 101 changed files with 1,829 additions and 1,954 deletions.
2 changes: 1 addition & 1 deletion .azdo/pipelines/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ steps:
env:
AZURE_SUBSCRIPTION_ID: ${AZURE_SUBSCRIPTION_ID}
AZURE_ENV_NAME: ${AZURE_ENV_NAME}
AZURE_LOCATION: ${AZURE_LOCATION}
AZURE_LOCATION: ${AZURE_LOCATION}
22 changes: 11 additions & 11 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
version: '3'
version: "3"

services:
app:
build:
build:
context: .
dockerfile: Dockerfile
args:
USER_UID: 1000
USER_GID: 1000
VARIANT: 16
USER_UID: 1000
USER_GID: 1000
VARIANT: 16

init: true
volumes:
- /var/run/docker.sock:/var/run/docker-host.sock
- ..:/workspace:cached
- /var/run/docker.sock:/var/run/docker-host.sock
- ..:/workspace:cached

entrypoint: /usr/local/share/docker-init.sh
command: sleep infinity
Expand All @@ -25,8 +25,8 @@ services:
mem_limit: 3g
cpu_count: 2
environment:
AZURE_COSMOS_EMULATOR_PARTITION_COUNT: 10
AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE: "true"
AZURE_COSMOS_EMULATOR_PARTITION_COUNT: 10
AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE: "true"
volumes:
# Forwards the local Docker socket to the container.
- /var/run/docker.sock:/var/run/docker-host.sock
# Forwards the local Docker socket to the container.
- /var/run/docker.sock:/var/run/docker-host.sock
23 changes: 9 additions & 14 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
module.exports = {
extends: [
"eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier",
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: [
'@typescript-eslint',
],
rules: {
},
};
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["@typescript-eslint"],
rules: {},
};
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ about: Tasks related to documentation section of site
title: "[Docs] "
labels: e2e-docs
assignees: nitya

---


3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ about: Issues related to specification (API, Data Models, Test Spec, Arch)
title: "[Spec] "
labels: e2e-spec
assignees: nitya

---


3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ about: Tasks and Issues related to e2e testing spec with Playwright
title: "[Test]"
labels: e2e-test
assignees: nitya

---


2 changes: 1 addition & 1 deletion .prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ semi: true
singleQuote: false
bracketSpacing: true
printWidth: 120
arrowParens: avoid
arrowParens: avoid
6 changes: 1 addition & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"recommendations": [
"ms-azuretools.azure-dev",
"angular.ng-template",
"42Crunch.vscode-openapi"
]
"recommendations": ["ms-azuretools.azure-dev", "angular.ng-template", "42Crunch.vscode-openapi"]
}
105 changes: 50 additions & 55 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,51 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Web",
"request": "launch",
"type": "msedge",
"webRoot": "${workspaceFolder}/packages/contoso-real-estate-ui",
"url": "http://localhost:4280",
},
{
"name": "Debug API",
"request": "launch",
"runtimeArgs": [
"start",
"--typescript"
],
"runtimeExecutable": "func",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"cwd": "${workspaceFolder}/packages/contoso-real-estate-api",
"envFile": "${input:dotEnvFilePath}",
"env": {
"NODE_ENV": "development"
},
"preLaunchTask": "Restore API",
"outputCapture": "std"
},
{
"name": "ng serve",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
},
{
"name": "ng test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test",
"url": "http://localhost:9876/debug.html"
}
],
"inputs": [
{
"id": "dotEnvFilePath",
"type": "command",
"command": "azure-dev.commands.getDotEnvFilePath"
}
]
}
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Web",
"request": "launch",
"type": "msedge",
"webRoot": "${workspaceFolder}/packages/contoso-real-estate-ui",
"url": "http://localhost:4280"
},
{
"name": "Debug API",
"request": "launch",
"runtimeArgs": ["start", "--typescript"],
"runtimeExecutable": "func",
"skipFiles": ["<node_internals>/**"],
"type": "node",
"cwd": "${workspaceFolder}/packages/contoso-real-estate-api",
"envFile": "${input:dotEnvFilePath}",
"env": {
"NODE_ENV": "development"
},
"preLaunchTask": "Restore API",
"outputCapture": "std"
},
{
"name": "ng serve",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/"
},
{
"name": "ng test",
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: test",
"url": "http://localhost:9876/debug.html"
}
],
"inputs": [
{
"id": "dotEnvFilePath",
"type": "command",
"command": "azure-dev.commands.getDotEnvFilePath"
}
]
}
8 changes: 2 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"cSpell.words": [
"azdo",
"Contoso",
"Quickstart"
]
}
"cSpell.words": ["azdo", "Contoso", "Quickstart"]
}
Loading

0 comments on commit f10219b

Please sign in to comment.