0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

Update config

This commit is contained in:
Gao Sun 2021-06-28 21:58:15 +08:00 committed by Gao Sun
parent bd21f5fe10
commit b080ae6e79
4 changed files with 21 additions and 8 deletions

View file

@ -12,10 +12,14 @@
/build
/lib
# misc
.DS_Store
*.env
# logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# misc
cache
.DS_Store
*.env

View file

@ -1,4 +1,13 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.defaultFormatter": "samverschueren.linter-xo"
}
"editor.defaultFormatter": "samverschueren.linter-xo",
"xo.enable": true,
"xo.format.enable": true,
"editor.formatOnSave": true,
"[typescriptreact]": {
"editor.defaultFormatter": "samverschueren.linter-xo"
},
"[javascript]": {
"editor.defaultFormatter": "samverschueren.linter-xo"
}
}

View file

@ -6,7 +6,7 @@ import initApp from './init';
import { getEnv } from './utils';
const app = new Koa();
const port = Number(getEnv('PORT', '3000'));
const port = Number(getEnv('PORT', '3001'));
(async () => {
try {

View file

@ -1 +1 @@
module.exports = require("@logto/essentials/.xo-config.json");
module.exports = require('@logto/essentials/.xo-config.json');