Skip to content

Commit

Permalink
Change code-style
Browse files Browse the repository at this point in the history
  • Loading branch information
OlehDutchenko committed Feb 9, 2021
1 parent 8096538 commit 2a39941
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
# http://EditorConfig.org
root = true
charset = utf-8
indent_style = tab
trim_trailing_whitespace = true
end_of_line = crlf
insert_final_new_line = true

[*.md]
trim_trailing_whitespace = false

# 2 spaces
[*.json]
indent_style = space
indent_size = 2

[*.lock]
[{package.json, package-lock.json}]
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

# 4 spaces
[*.php]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@wezom", "prettier"]
}
11 changes: 11 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 90,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 4,
"useTabs": true
}

0 comments on commit 2a39941

Please sign in to comment.