Skip to content

Commit

Permalink
Add eslint rule and modify the test script
Browse files Browse the repository at this point in the history
  • Loading branch information
rojasTob committed Jun 16, 2020
1 parent 9f32c7f commit df19876
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
extends: google
parserOptions:
ecmaVersion: 6
rules:
linebreak-style: 0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "./node_modules/.bin/eslint . && ./node_modules/.bin/jest"
"test": "./node_modules/.bin/eslint '**/*.js' && ./node_modules/.bin/jest"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit df19876

Please sign in to comment.