Skip to content

Commit

Permalink
✅ Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed May 7, 2019
1 parent ca665db commit 32bb3bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .stylelintrc.json
Expand Up @@ -9,7 +9,8 @@
"comment-empty-line-before": null,
"function-name-case": ["lower", { "ignoreFunctions": ["/colorPalette/"] }],
"no-invalid-double-slash-comments": null,
"no-descending-specificity": null
"no-descending-specificity": null,
"declaration-empty-line-before": null
},
"ignoreFiles": ["components/style/color/{bezierEasing,colorPalette,tinyColor}.less"]
}
3 changes: 3 additions & 0 deletions scripts/apiCollection.js
Expand Up @@ -39,9 +39,12 @@ function printReport(apis) {
componentList: apis[api],
}));
apiList.sort((a, b) => b.componentList.length - a.componentList.length);
// eslint-disable-next-line no-console
console.log('| name | components | comments |');
// eslint-disable-next-line no-console
console.log('| ---- | ---------- | -------- |');
apiList.forEach(({ name, componentList }) => {
// eslint-disable-next-line no-console
console.log('|', name, '|', componentList.join(', '), '| |');
});
}
Expand Down

0 comments on commit 32bb3bc

Please sign in to comment.