Fix indentation

This commit is contained in:
Chen-I Lim 2021-02-10 10:13:04 -08:00
parent f3a526fb6d
commit a10beb52a2
5 changed files with 71 additions and 71 deletions

112
.vscode/launch.json vendored
View file

@ -11,36 +11,36 @@
"mode": "debug",
"program": "${workspaceFolder}/server/main",
"cwd": "${workspaceFolder}"
},
{
"name": "Go: Launch Windows App",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/win",
"cwd": "${workspaceFolder}/win/temp",
},
{
"name": "Go: Launch Linux App",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/linux",
"cwd": "${workspaceFolder}/linux/dist/focalboard-app",
},
{
"name": "Go: Test Current File",
"type": "go",
"request": "launch",
"mode": "test",
"remotePath": "",
"port": 8888,
"host": "127.0.0.1",
"program": "${file}",
"env": {},
"args": [],
"showLog": true
},
},
{
"name": "Go: Launch Windows App",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/win",
"cwd": "${workspaceFolder}/win/temp",
},
{
"name": "Go: Launch Linux App",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/linux",
"cwd": "${workspaceFolder}/linux/dist/focalboard-app",
},
{
"name": "Go: Test Current File",
"type": "go",
"request": "launch",
"mode": "test",
"remotePath": "",
"port": 8888,
"host": "127.0.0.1",
"program": "${file}",
"env": {},
"args": [],
"showLog": true
},
{
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
@ -50,30 +50,30 @@
],
"type": "pwa-node"
},
{
"type": "node",
"request": "launch",
"name": "Jest: run all tests",
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
"cwd": "${workspaceRoot}/webapp",
"args": [
"--verbose",
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Jest: run current file",
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
"cwd": "${workspaceRoot}/webapp",
"args": [
"${fileBasename}",
"--verbose",
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
]
{
"type": "node",
"request": "launch",
"name": "Jest: run all tests",
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
"cwd": "${workspaceRoot}/webapp",
"args": [
"--verbose",
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Jest: run current file",
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
"cwd": "${workspaceRoot}/webapp",
"args": [
"${fileBasename}",
"--verbose",
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
]
}

View file

@ -63,9 +63,9 @@ generate:
server-lint:
@if ! [ -x "$$(command -v golangci-lint)" ]; then \
echo "golangci-lint is not installed. Please see https://github.com/golangci/golangci-lint#install for installation instructions."; \
exit 1; \
fi; \
echo "golangci-lint is not installed. Please see https://github.com/golangci/golangci-lint#install for installation instructions."; \
exit 1; \
fi; \
cd server; golangci-lint run -p format -p unused -p complexity -p bugs -p performance -E asciicheck -E depguard -E dogsled -E dupl -E funlen -E gochecknoglobals -E gochecknoinits -E goconst -E gocritic -E godot -E godox -E goerr113 -E goheader -E golint -E gomnd -E gomodguard -E goprintffuncname -E gosimple -E interfacer -E lll -E misspell -E nlreturn -E nolintlint -E stylecheck -E unconvert -E whitespace -E wsl --skip-dirs services/store/sqlstore/migrations/ ./...
server-test:

View file

@ -6,6 +6,6 @@
"useSSL": false,
"webpath": "./pack",
"filespath": "./files",
"telemetry": true,
"localOnly": true
"telemetry": true,
"localOnly": true
}

View file

@ -8,12 +8,12 @@
"useSSL": false,
"webpath": "./webapp/pack",
"filespath": "./files",
"telemetry": true,
"webhook_update": [],
"secret": "this-is-a-secret-string",
"session_expire_time": 2592000,
"session_refresh_time": 18000,
"localOnly": false,
"enableLocalMode": true,
"localModeSocketLocation": "/var/tmp/focalboard_local.socket"
"telemetry": true,
"webhook_update": [],
"secret": "this-is-a-secret-string",
"session_expire_time": 2592000,
"session_refresh_time": 18000,
"localOnly": false,
"enableLocalMode": true,
"localModeSocketLocation": "/var/tmp/focalboard_local.socket"
}

View file

@ -6,6 +6,6 @@
"useSSL": false,
"webpath": "../pack",
"filespath": "../../files",
"telemetry": false,
"webhook_update": []
"telemetry": false,
"webhook_update": []
}