mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 10:07:46 -05:00
chore: ignore built css when linting (#58589)
This commit is contained in:
committed by
GitHub
parent
313b5fdfbf
commit
46c8afd21b
@@ -56,7 +56,7 @@ module.exports = {
|
|||||||
|
|
||||||
if (files.length > 10) {
|
if (files.length > 10) {
|
||||||
completedStages.add('css');
|
completedStages.add('css');
|
||||||
return 'pnpm stylelint --fix ./**/*.css';
|
return 'stylelint --fix ./**/*.css';
|
||||||
} else {
|
} else {
|
||||||
return files.map(filename => `stylelint --fix '${filename}'`);
|
return files.map(filename => `stylelint --fix '${filename}'`);
|
||||||
}
|
}
|
||||||
|
|||||||
2
.stylelintignore
Normal file
2
.stylelintignore
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
playwright
|
||||||
|
client/public
|
||||||
Reference in New Issue
Block a user