Skip to content

Commit

Permalink
use eslint eslint-config-google to lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
gnijuohz committed Dec 1, 2017
1 parent a6dd7c1 commit f776723
Show file tree
Hide file tree
Showing 9 changed files with 1,648 additions and 508 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,13 @@
{
"env": {
"browser": true,
"es6": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": ["error", 2]
},
"extends": "google"
}
6 changes: 6 additions & 0 deletions .travis.yml
@@ -0,0 +1,6 @@
language: node_js
node_js:
- "8"

script:
- npm run lint

0 comments on commit f776723

Please sign in to comment.