Add lint rules from eslint-plugin-unicorn.

This commit is contained in:
David Anson 2020-09-06 20:34:10 -07:00
parent 0f4745efe3
commit 5ab938a6ab
11 changed files with 96 additions and 31 deletions

View file

@ -55,7 +55,7 @@ function lintTestRepo(test, globPatterns, configPath) {
};
return markdownlintPromise(options).then((results) => {
const resultsString = results.toString();
if (resultsString.length) {
if (resultsString.length > 0) {
// eslint-disable-next-line no-console
console.log(resultsString);
}