Skip to content

Commit

Permalink
chore: 🔧 added editorconfig
Browse files Browse the repository at this point in the history
Don't ask me why it wasn't there before...
  • Loading branch information
arctic-hen7 committed Aug 23, 2021
1 parent 1877c13 commit 39bb5ff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This ensures your code style preferences are enforced no matter what editor you and your contributors use!
# They'll need to install the Editorconfig extension in their editr of choice first though.

root = true

[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
4 changes: 2 additions & 2 deletions examples/showcase/app/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import init, { run } from "./pkg/perseus_showcase_app.js";
async function main() {
await init("/.perseus/bundle.wasm");
run();
await init("/.perseus/bundle.wasm");
run();
}
main();

0 comments on commit 39bb5ff

Please sign in to comment.