Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
setup prettier, .editorconfig & eslint plug-ins
Browse files Browse the repository at this point in the history
  • Loading branch information
peterleiva committed Aug 18, 2021
1 parent 1d360d9 commit 27c64da
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
8 changes: 7 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": ["next", "next/core-web-vitals"]
"extends": [
"next",
"next/core-web-vitals",
"plugin:jsx-a11y/recommended",
"prettier"
],
"plugins": ["jsx-a11y"]
}
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"arrowParens": "avoid",
"bracketSpacing": true
}

0 comments on commit 27c64da

Please sign in to comment.