Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
byrichardpowell committed Jun 7, 2023
1 parent 5adfd21 commit 53ebda1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# editorconfig.org
root = true

[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

# Markdown syntax specifies that trailing whitespaces can be meaningful,
# so let’s not trim those. e.g. 2 trailing spaces = linebreak (<br />)
# See https://daringfireball.net/projects/markdown/syntax#p
[*.md]
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion app/shopify.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import {PrismaSessionStorage} from '@shopify/shopify-app-session-storage-prisma';
import {restResources} from '@shopify/shopify-api/rest/admin/2023-04';

import prisma from '~/db.server';
import prisma from './db.server';

export const shopify = shopifyApp({
apiKey: process.env.SHOPIFY_API_KEY!,
Expand Down

0 comments on commit 53ebda1

Please sign in to comment.