test(aio): enable linting of transforms/ and add rules for jasmine

This commit is contained in:
Georgios Kalpakas
2017-04-01 21:34:10 +03:00
committed by Pete Bacon Darwin
parent a562c64ed6
commit 62f9738a9a
41 changed files with 101 additions and 96 deletions

View File

@ -21,7 +21,7 @@ module.exports = new Package('content', [jsdocPackage, linksPackage])
})
// Configure ids and paths
.config(function(computeIdsProcessor, computePathsProcessor) {
.config(function(computeIdsProcessor) {
computeIdsProcessor.idTemplates.push({
docTypes: ['content'],
@ -44,4 +44,4 @@ function requireFolder(folderPath) {
return fs.readdirSync(absolutePath)
.filter(p => !/[._]spec\.js$/.test(p)) // ignore spec files
.map(p => require(path.resolve(absolutePath, p)));
}
}

View File

@ -1,5 +1,3 @@
var path = require('canonical-path');
/**
* @dgService
* @description
@ -23,4 +21,4 @@ module.exports = function contentFileReader() {
return [{docType: 'content', content: fileInfo.content, startingLine: 1}];
}
};
};
};