Skip to content

Commit

Permalink
chore: add editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Dec 13, 2023
1 parent 92df083 commit 96a9ea7
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .buildpacks
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/confact/bun-buildpack
https://github.com/confact/bun-buildpack
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HOST: http://localhost:3000
MCP_CLIENT_ID: client_id
MCP_CLIENT_SECRET: client_secret
MCP_PROVIDER: https://app-test.moncomptepro.beta.gouv.fr/
MCP_PROVIDER: https://app-test.moncomptepro.beta.gouv.fr/
4 changes: 2 additions & 2 deletions e2e/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ export default defineConfig({

async function setupNodeEvents(
on: Cypress.PluginEvents,
config: Cypress.PluginConfigOptions
config: Cypress.PluginConfigOptions,
) {
await addCucumberPreprocessorPlugin(on, config);

on(
"file:preprocessor",
createBundler({
plugins: [createEsbuildPlugin(config)],
})
}),
);

return config;
Expand Down
6 changes: 3 additions & 3 deletions e2e/features/connexion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ When("je vois {string} sur moncomptepro", (_text: string) => {
{ args: _text },
(text) => {
cy.contains(text);
}
},
);
});

Expand All @@ -42,7 +42,7 @@ When("je click sur {string} sur moncomptepro", (_text: string) => {
{ args: _text },
(text) => {
cy.contains(text).click();
}
},
);
});

Expand All @@ -58,5 +58,5 @@ When(
.contains("Se connecter")
.click();
});
}
},
);

0 comments on commit 96a9ea7

Please sign in to comment.