Skip to content

Conversation

@hjrocha
Copy link
Collaborator

@hjrocha hjrocha commented Oct 12, 2019

No description provided.

@hjrocha hjrocha self-assigned this Oct 12, 2019
@codacy-acme codacy-acme deleted a comment Oct 13, 2019
@heliocodacy
Copy link
Collaborator

teste comment

@codacy-acme codacy-acme deleted a comment Oct 14, 2019
@codacy-acme codacy-acme deleted a comment Oct 14, 2019
@codacy-acme codacy-acme deleted a comment Oct 14, 2019
@codacy-acme codacy-acme deleted a comment Oct 14, 2019
@codacy-acme codacy-acme deleted a comment Oct 25, 2019
@codacy-acme codacy-acme deleted a comment Oct 30, 2019
@codacy-acme codacy-acme deleted a comment Nov 11, 2019
@codacy-acme codacy-acme deleted a comment from heliocodacy May 15, 2020
};


exports.pluralize_v2 = function (count, singular, plural) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

const j = 9
while(j>count){
console.log("counting")
j--
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

for(let i = 0; i < count; i++){
const j = 9
while(j>count){
console.log("counting")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

};

let result;
async function foo() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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


};

function foo(a, b, a) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

console.log("value of the second a:", a);
};

function fn() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

for (var i = 10; i >= 0; i++) {
}

var x = 5;;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

result = result + doSomething(await somethingElse);
}

function* bar() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

for(let i = 0; i < count; i++){
const j = 9
while(j>count){
console.log("counting")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

const j = 9
while(j>count){
console.log("counting")
j--
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

};

exports.method = function (count) {
for(let i = 0; i < count; i++){
Copy link
Collaborator Author

Choose a reason for hiding this comment

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


exports.method = function (count) {
for(let i = 0; i < count; i++){
const j = 9
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

};

function foo(a, b, a) {
typeof a === undefined
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -0,0 +1,76 @@
"use strict";
var fs = require("fs");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 5
           

Clones added
============
- src/server/lib/person.js  1
         

See the complete overview on Codacy

@codacy-acme codacy-acme deleted a comment from hjrocha Mar 2, 2021
@codacy-acme codacy-acme deleted a comment from hjrocha Mar 2, 2021
@codacy-acme codacy-acme deleted a comment from hjrocha Mar 2, 2021
@codacy-acme codacy-acme deleted a comment from hjrocha Mar 2, 2021
@codacy-acme codacy-acme deleted a comment from hjrocha Mar 2, 2021
@codacy-acme codacy-acme deleted a comment from hjrocha Mar 2, 2021
};

exports.method = function (count) {
for(let i = 0; i < count; i++){
Copy link
Collaborator

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Replace (let·i·=·0;·i·<·count;·i++) with ·(let·i·=·0;·i·<·count;·i++)·

Suggested change
for(let i = 0; i < count; i++){
for (let i = 0; i < count; i++) {

exports.method = function (count) {
for(let i = 0; i < count; i++){
const j = 9
while(j>count){
Copy link
Collaborator

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Replace (j>count) with ·(j·>·count)·

Suggested change
while(j>count){
while (j > count) {


exports.method = function (count) {
for(let i = 0; i < count; i++){
const j = 9
Copy link
Collaborator

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Insert ;

Suggested change
const j = 9
const j = 9;

for(let i = 0; i < count; i++){
const j = 9
while(j>count){
console.log("counting")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Insert ;

Suggested change
console.log("counting")
console.log("counting");

return `${count} ${plural}`;
};

exports.method = function (count) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Delete ·

Suggested change
exports.method = function (count) {
exports.method = function (count) {

const j = 9
while(j>count){
console.log("counting")
j--
Copy link
Collaborator

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Insert ;

Suggested change
j--
j--;

exports.method = function (count) {
for(let i = 0; i < count; i++){
const j = 9
while(j>count){

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Replace (j>count) with ·(j·>·count)·

Suggested change
while(j>count){
while (j > count) {

const j = 9
while(j>count){
console.log("counting")
j--

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Insert ;

Suggested change
j--
j--;

};

exports.method = function (count) {
for(let i = 0; i < count; i++){

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Replace (let·i·=·0;·i·<·count;·i++) with ·(let·i·=·0;·i·<·count;·i++)·

Suggested change
for(let i = 0; i < count; i++){
for (let i = 0; i < count; i++) {


exports.method = function (count) {
for(let i = 0; i < count; i++){
const j = 9

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Insert ;

Suggested change
const j = 9
const j = 9;

for(let i = 0; i < count; i++){
const j = 9
while(j>count){
console.log("counting")

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Insert ;

Suggested change
console.log("counting")
console.log("counting");

return `${count} ${plural}`;
};

exports.method = function (count) {

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Delete ·

Suggested change
exports.method = function (count) {
exports.method = function (count) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants