Skip to content

Commit

Permalink
Add ESLint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mblomdahl committed Jul 19, 2017
1 parent 1eb78f1 commit 4ab012d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# /node_modules/* and /bower_components/* ignored by default

# Ignore built files
build/*

# Ignore dist files
dist/*
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "google",
"parserOptions": {
"ecmaVersion":6,
"sourceType": "module"
},
"rules": {
"max-len": ["error", {"code": 120, "ignoreStrings": true}],
"require-jsdoc": "off"
}
}

0 comments on commit 4ab012d

Please sign in to comment.