We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f158a1c commit 5c0c275Copy full SHA for 5c0c275
index.js
@@ -45,11 +45,16 @@ async function init(prData) {
45
}
46
47
// FIXME: can't write to disk on now.sh. will have to find a workaround.
48
+ // https://github.com/paulirish/commitlintbot/issues/3
49
if (false && czConfigContent) {
50
// unfortunately this file needs to be read off of disk
51
fs.writeFileSync(czConfigPath, czConfigContent);
52
lintOpts.cz = true;
53
54
+ // FIXME: currently have to ignore extends:['cz'] in the config.
55
+ if (!githubData.repo.includes('lighthouse')) {
56
+ lintOpts.clintConfig.extends = lintOpts.clintConfig.extends.filter(e => e !== 'cz');
57
+ }
58
59
const {report, reportObj} = await lint(title, lintOpts);
60
0 commit comments