Skip to content

Commit 481feba

Browse files
committed
chore: update comment about esprint failure
1 parent fd8b175 commit 481feba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/generate-clients/code-eslint-fix.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ const eslintFixCode = async () => {
1010
"--quiet",
1111
]);
1212
} catch (error) {
13-
// esprint throws error as there's no way to disable 'prefer-const'
14-
// which fails in clients. We'll still get fixed code though.
13+
// esprint throws error as the clients source code does not follow 'prefer-const' rule.
14+
// And esprint does not have a way to override rules written in .eslintrc
15+
// We will still get linted code though.
1516
}
1617
};
1718

0 commit comments

Comments
 (0)