Skip to content

Commit

Permalink
Add linting/editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
gidztech committed Jul 27, 2018
1 parent 31c3c04 commit 34bd56f
Show file tree
Hide file tree
Showing 6 changed files with 3,243 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4

[*.md]
trim_trailing_whitespace = false
21 changes: 21 additions & 0 deletions .eslintrc
@@ -0,0 +1,21 @@
{
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"tabWidth": "4"
}
],
"no-console": "off"
},
"env": {
"node": true,
"jest": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 8
}
}
9 changes: 9 additions & 0 deletions .gitattributes
@@ -0,0 +1,9 @@
# Set the default behavior, in case people don't have core.autocrlf set
* text=auto

# Require Unix line endings
* text eol=lf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.zip binary
7 changes: 7 additions & 0 deletions .gitignore
@@ -0,0 +1,7 @@
.idea
.vscode
.DS_Store
.npm
.env
npm-debug.log
node_modules

0 comments on commit 34bd56f

Please sign in to comment.