Skip to content

Commit

Permalink
add prettier husky devDependencies and add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
sohibegit committed Oct 22, 2018
1 parent 5227e3a commit 958f0d6
Show file tree
Hide file tree
Showing 12 changed files with 3,103 additions and 1,402 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[{package,bower}.json]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Prettier configuration

printWidth: 180
singleQuote: true
tabWidth: 4
useTabs: false

# js and ts rules:
arrowParens: avoid

# jsx and tsx rules:
jsxBracketSameLine: false
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
}
},
"typescript.tsdk": "node_modules/typescript/lib"
}
Loading

0 comments on commit 958f0d6

Please sign in to comment.