Added editorconfig [skip ci] (#141)

This commit is contained in:
David
2022-10-25 01:10:16 +02:00
committed by GitHub
parent 81fd11ee62
commit d2d405c3e5
3 changed files with 25 additions and 9 deletions

View File

@@ -53,5 +53,8 @@ cypress/screenshots
Dockerfile
.dockerignore
# editorconfig
.editorconfig
# instance list
instances.json

13
.editorconfig Normal file
View File

@@ -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

View File

@@ -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}'
}
});