diff --git a/.dockerignore b/.dockerignore index 1053de4..f8fdda8 100644 --- a/.dockerignore +++ b/.dockerignore @@ -53,5 +53,8 @@ cypress/screenshots Dockerfile .dockerignore +# editorconfig +.editorconfig + # instance list instances.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d592769 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space +charset = utf-8 +end_of_line = lf +insert_final_newline = true + +[*.{js,ts,tsx}] +indent_size = 4 + +[*.{json,yml}] +indent_size = 2 diff --git a/cypress.config.ts b/cypress.config.ts index 541e5f9..f9695bb 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -1,13 +1,13 @@ import { defineConfig } from 'cypress'; export default defineConfig({ - defaultCommandTimeout: 10000, - waitForAnimations: true, - retries: 4, - projectId: 'qgjdyd', - e2e: { - setupNodeEvents(on, config) {}, - baseUrl: 'http://localhost:3000', - specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}' - }, + defaultCommandTimeout: 10000, + waitForAnimations: true, + retries: 4, + projectId: 'qgjdyd', + e2e: { + setupNodeEvents(on, config) {}, + baseUrl: 'http://localhost:3000', + specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}' + } });