Skip to content

Commit

Permalink
add CC.yml for precise code analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
sr229 committed Sep 27, 2017
1 parent 5b0218b commit 7166c8b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
engines:
eslint:
enabled: true
config: .eslintrc
duplication:
enabled: false
config:
languages:
- javascript
fixme:
enabled: true
ratings:
paths:
- "lib/**.js"
exclude_paths:
- data/*
- assets/*
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 6,
"ecmaVersion": 7,
"ecmaFeatures": {
"jsx": false
}
Expand Down Expand Up @@ -66,7 +66,7 @@
"string": "String",
"number": "Number",
"boolean": "Boolean",
"rromise": "Promise",
"promise": "Promise",
"array": "Array",
"undefined":" Undefined",
"null": "Null",
Expand Down

0 comments on commit 7166c8b

Please sign in to comment.