diff --git a/.stylelintrc.json b/.stylelintrc.json index ec0633f7a9a1..40ce56859fd3 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -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"] } diff --git a/scripts/apiCollection.js b/scripts/apiCollection.js index e9b6b43ce86d..d42217b2a218 100644 --- a/scripts/apiCollection.js +++ b/scripts/apiCollection.js @@ -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(', '), '| |'); }); }