Skip to content

Commit

Permalink
Adding editorconfig and eslint files
Browse files Browse the repository at this point in the history
  • Loading branch information
micahriggan committed May 18, 2018
1 parent 1d2743f commit 25b4c68
Show file tree
Hide file tree
Showing 5 changed files with 252 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .editorconfig
@@ -0,0 +1,14 @@

# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
1 change: 1 addition & 0 deletions .eslintignore
@@ -0,0 +1 @@
*node_modules
25 changes: 25 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,25 @@
{
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}

209 changes: 209 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -9,6 +9,8 @@
"postinstall": "./node_modules/.bin/lerna bootstrap"
},
"devDependencies": {
"lerna": "^2.9.1"
"lerna": "^2.9.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0"
}
}

0 comments on commit 25b4c68

Please sign in to comment.