mirror of
https://github.com/mattermost/focalboard.git
synced 2025-06-27 17:00:57 -04:00
Fix indentation
This commit is contained in:
parent
f3a526fb6d
commit
a10beb52a2
5 changed files with 71 additions and 71 deletions
112
.vscode/launch.json
vendored
112
.vscode/launch.json
vendored
|
@ -11,36 +11,36 @@
|
||||||
"mode": "debug",
|
"mode": "debug",
|
||||||
"program": "${workspaceFolder}/server/main",
|
"program": "${workspaceFolder}/server/main",
|
||||||
"cwd": "${workspaceFolder}"
|
"cwd": "${workspaceFolder}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Go: Launch Windows App",
|
"name": "Go: Launch Windows App",
|
||||||
"type": "go",
|
"type": "go",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"mode": "debug",
|
"mode": "debug",
|
||||||
"program": "${workspaceFolder}/win",
|
"program": "${workspaceFolder}/win",
|
||||||
"cwd": "${workspaceFolder}/win/temp",
|
"cwd": "${workspaceFolder}/win/temp",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Go: Launch Linux App",
|
"name": "Go: Launch Linux App",
|
||||||
"type": "go",
|
"type": "go",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"mode": "debug",
|
"mode": "debug",
|
||||||
"program": "${workspaceFolder}/linux",
|
"program": "${workspaceFolder}/linux",
|
||||||
"cwd": "${workspaceFolder}/linux/dist/focalboard-app",
|
"cwd": "${workspaceFolder}/linux/dist/focalboard-app",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Go: Test Current File",
|
"name": "Go: Test Current File",
|
||||||
"type": "go",
|
"type": "go",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"mode": "test",
|
"mode": "test",
|
||||||
"remotePath": "",
|
"remotePath": "",
|
||||||
"port": 8888,
|
"port": 8888,
|
||||||
"host": "127.0.0.1",
|
"host": "127.0.0.1",
|
||||||
"program": "${file}",
|
"program": "${file}",
|
||||||
"env": {},
|
"env": {},
|
||||||
"args": [],
|
"args": [],
|
||||||
"showLog": true
|
"showLog": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Attach by Process ID",
|
"name": "Attach by Process ID",
|
||||||
"processId": "${command:PickProcess}",
|
"processId": "${command:PickProcess}",
|
||||||
|
@ -50,30 +50,30 @@
|
||||||
],
|
],
|
||||||
"type": "pwa-node"
|
"type": "pwa-node"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Jest: run all tests",
|
"name": "Jest: run all tests",
|
||||||
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
|
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
|
||||||
"cwd": "${workspaceRoot}/webapp",
|
"cwd": "${workspaceRoot}/webapp",
|
||||||
"args": [
|
"args": [
|
||||||
"--verbose",
|
"--verbose",
|
||||||
],
|
],
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"internalConsoleOptions": "neverOpen"
|
"internalConsoleOptions": "neverOpen"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Jest: run current file",
|
"name": "Jest: run current file",
|
||||||
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
|
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
|
||||||
"cwd": "${workspaceRoot}/webapp",
|
"cwd": "${workspaceRoot}/webapp",
|
||||||
"args": [
|
"args": [
|
||||||
"${fileBasename}",
|
"${fileBasename}",
|
||||||
"--verbose",
|
"--verbose",
|
||||||
],
|
],
|
||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"internalConsoleOptions": "neverOpen"
|
"internalConsoleOptions": "neverOpen"
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -63,9 +63,9 @@ generate:
|
||||||
|
|
||||||
server-lint:
|
server-lint:
|
||||||
@if ! [ -x "$$(command -v golangci-lint)" ]; then \
|
@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."; \
|
echo "golangci-lint is not installed. Please see https://github.com/golangci/golangci-lint#install for installation instructions."; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
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/ ./...
|
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:
|
server-test:
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
"useSSL": false,
|
"useSSL": false,
|
||||||
"webpath": "./pack",
|
"webpath": "./pack",
|
||||||
"filespath": "./files",
|
"filespath": "./files",
|
||||||
"telemetry": true,
|
"telemetry": true,
|
||||||
"localOnly": true
|
"localOnly": true
|
||||||
}
|
}
|
||||||
|
|
16
config.json
16
config.json
|
@ -8,12 +8,12 @@
|
||||||
"useSSL": false,
|
"useSSL": false,
|
||||||
"webpath": "./webapp/pack",
|
"webpath": "./webapp/pack",
|
||||||
"filespath": "./files",
|
"filespath": "./files",
|
||||||
"telemetry": true,
|
"telemetry": true,
|
||||||
"webhook_update": [],
|
"webhook_update": [],
|
||||||
"secret": "this-is-a-secret-string",
|
"secret": "this-is-a-secret-string",
|
||||||
"session_expire_time": 2592000,
|
"session_expire_time": 2592000,
|
||||||
"session_refresh_time": 18000,
|
"session_refresh_time": 18000,
|
||||||
"localOnly": false,
|
"localOnly": false,
|
||||||
"enableLocalMode": true,
|
"enableLocalMode": true,
|
||||||
"localModeSocketLocation": "/var/tmp/focalboard_local.socket"
|
"localModeSocketLocation": "/var/tmp/focalboard_local.socket"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
"useSSL": false,
|
"useSSL": false,
|
||||||
"webpath": "../pack",
|
"webpath": "../pack",
|
||||||
"filespath": "../../files",
|
"filespath": "../../files",
|
||||||
"telemetry": false,
|
"telemetry": false,
|
||||||
"webhook_update": []
|
"webhook_update": []
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue