mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-25 14:26:29 +00:00
Fix eslint
This commit is contained in:
parent
f3311b32b4
commit
22bfee0958
@ -11,7 +11,7 @@ var path = require('path');
|
||||
* @param {string} error
|
||||
* @param {...*} varags format arguments
|
||||
*/
|
||||
module.exports = function(tag, comment, error) {
|
||||
module.exports = function (tag, comment, error) {
|
||||
var relativePath = path.relative(process.cwd(), comment.context.file),
|
||||
lineNumber = (tag ? tag.lineNumber : 0) + comment.loc.start.line;
|
||||
|
||||
|
||||
@ -65,6 +65,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"cover": "istanbul cover prova test/*.js test/lib/*.js test/streams/*.js --dir $CIRCLE_ARTIFACTS && coveralls < $CIRCLE_ARTIFACTS/lcov.info",
|
||||
"test": "eslint --no-eslintrc -c .eslintrc index.js test/*.js test/streams/*.js && prova test/*.js test/lib/*.js test/streams/*.js"
|
||||
"test": "eslint --no-eslintrc -c .eslintrc lib index.js test/*.js test/streams/*.js && prova test/*.js test/lib/*.js test/streams/*.js"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user