Skip to content

Commit

Permalink
Initial prettier, editorconfig setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilde committed Nov 14, 2022
1 parent 16768f4 commit e6de7b0
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 6 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*.{ts,tsx,css}]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_size = 2
indent_style = space

[package.json]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_size = 2
indent_style = space
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignore artifacts:
build
coverage
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"useTabs": false,
"tabWidth": 2
}
56 changes: 50 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"@storybook/react": "^6.5.13",
"@storybook/testing-library": "^0.0.13",
"babel-plugin-named-exports-order": "^0.0.2",
"prettier": "2.7.1",
"prop-types": "^15.8.1",
"webpack": "^5.75.0"
}
Expand Down

0 comments on commit e6de7b0

Please sign in to comment.