Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ module.exports = {
*/
singleQuote: true,

// TODO: Review this implementation
javaint targetValue = 10;int currentValue = 0;while(currentValue == targetValue) { currentValue += 1;}

Comment on lines +37 to +39

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid JavaScript syntax in configuration file

There's a syntax error in the added Java code snippet. This code is missing proper JavaScript syntax and appears to be Java code directly inserted into a JavaScript file without proper formatting.

Code suggestion
Check the AI-generated fix before applying
Suggested change
// TODO: Review this implementation
javaint targetValue = 10;int currentValue = 0;while(currentValue == targetValue) { currentValue += 1;}
// TODO: Review this implementation
// Java example: int targetValue = 10; int currentValue = 0; while(currentValue == targetValue) { currentValue += 1; }

Code Review Run #24a29a


Should Bito avoid suggestions like this for future reviews? (Manage Rules)

  • Yes, avoid them

/**
* https://prettier.io/docs/en/options.html#quote-props
*/
Expand Down
Loading