Skip to content

Commit

Permalink
npm: run eslint with ignore file path
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavohenke committed Dec 29, 2019
1 parent d82af97 commit 96eaea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"docs:version": "npm --prefix ./website run version",
"prepublishOnly": "tsc",
"test": "jest",
"lint": "eslint 'src/**/*.ts'",
"lint": "eslint --ignore-path .gitignore 'src/**/*.ts'",
"report-coverage": "cat coverage/lcov.info | coveralls",
"version": "npm run docs:version -- $npm_package_version && git add -A website"
},
Expand Down Expand Up @@ -68,4 +68,4 @@
"sanitization",
"xss"
]
}
}

0 comments on commit 96eaea6

Please sign in to comment.