diff --git a/packages/schemas/.gitignore b/packages/schemas/.gitignore index 74ec73b31..292d40c00 100644 --- a/packages/schemas/.gitignore +++ b/packages/schemas/.gitignore @@ -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 diff --git a/packages/schemas/.vscode/settings.json b/packages/schemas/.vscode/settings.json index 1514962c7..eaa005f35 100644 --- a/packages/schemas/.vscode/settings.json +++ b/packages/schemas/.vscode/settings.json @@ -1,4 +1,13 @@ { "typescript.tsdk": "node_modules/typescript/lib", - "editor.defaultFormatter": "samverschueren.linter-xo" -} \ No newline at end of file + "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" + } +} diff --git a/packages/schemas/xo.config.js b/packages/schemas/xo.config.js index 9a8c91c1c..d35b804e6 100644 --- a/packages/schemas/xo.config.js +++ b/packages/schemas/xo.config.js @@ -1 +1 @@ -module.exports = require("@logto/essentials/.xo-config.json"); +module.exports = require('@logto/essentials/.xo-config.json');