mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Revert autofix lint (#19040)
I accidentally committed this since I had it on locally so I didn't have to manually convert things to const. However, this causes things to always pass lint since CI also runs this.
This commit is contained in:
committed by
GitHub
parent
441a717963
commit
d2de54c0ef
@@ -68,11 +68,10 @@ function runESLint({onlyChanged}) {
|
||||
if (typeof onlyChanged !== 'boolean') {
|
||||
throw new Error('Pass options.onlyChanged as a boolean.');
|
||||
}
|
||||
const {
|
||||
errorCount,
|
||||
warningCount,
|
||||
output,
|
||||
} = runESLintOnFilesWithOptions(allPaths, onlyChanged, {fix: true});
|
||||
const {errorCount, warningCount, output} = runESLintOnFilesWithOptions(
|
||||
allPaths,
|
||||
onlyChanged
|
||||
);
|
||||
console.log(output);
|
||||
return errorCount === 0 && warningCount === 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user