Conversation
|
teste comment |
| }; | ||
|
|
||
|
|
||
| exports.pluralize_v2 = function (count, singular, plural) { |
There was a problem hiding this comment.
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") | ||
| j-- |
| for(let i = 0; i < count; i++){ | ||
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") |
| }; | ||
|
|
||
| let result; | ||
| async function foo() { |
There was a problem hiding this comment.
Issue found: 'foo' is defined but never used.
|
|
||
| }; | ||
|
|
||
| function foo(a, b, a) { |
There was a problem hiding this comment.
Issue found: 'b' is defined but never used.
| console.log("value of the second a:", a); | ||
| }; | ||
|
|
||
| function fn() { |
There was a problem hiding this comment.
Issue found: 'fn' is defined but never used.
| for (var i = 10; i >= 0; i++) { | ||
| } | ||
|
|
||
| var x = 5;; |
There was a problem hiding this comment.
Issue found: 'x' is defined but never used.
| result = result + doSomething(await somethingElse); | ||
| } | ||
|
|
||
| function* bar() { |
There was a problem hiding this comment.
Issue found: 'bar' is defined but never used.
| for(let i = 0; i < count; i++){ | ||
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") |
There was a problem hiding this comment.
Issue found: Unexpected console statement. (no-console)
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") | ||
| j-- |
There was a problem hiding this comment.
Issue found: 'j' is constant. (no-const-assign)
| }; | ||
|
|
||
| exports.method = function (count) { | ||
| for(let i = 0; i < count; i++){ |
There was a problem hiding this comment.
Issue found: Expected space(s) after "for". (keyword-spacing)
|
|
||
| exports.method = function (count) { | ||
| for(let i = 0; i < count; i++){ | ||
| const j = 9 |
| }; | ||
|
|
||
| function foo(a, b, a) { | ||
| typeof a === undefined |
There was a problem hiding this comment.
| @@ -0,0 +1,76 @@ | |||
| "use strict"; | |||
| var fs = require("fs"); | |||
There was a problem hiding this comment.
Issue found: 'fs' is defined but never used.
|
Issues
======
- Added 5
Clones added
============
- src/server/lib/person.js 1
See the complete overview on Codacy |
| }; | ||
|
|
||
| exports.method = function (count) { | ||
| for(let i = 0; i < count; i++){ |
There was a problem hiding this comment.
Codacy has a fix for the issue: Replace (let·i·=·0;·i·<·count;·i++) with ·(let·i·=·0;·i·<·count;·i++)·
| 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){ |
There was a problem hiding this comment.
Codacy has a fix for the issue: Replace (j>count) with ·(j·>·count)·
| while(j>count){ | |
| while (j > count) { |
|
|
||
| exports.method = function (count) { | ||
| for(let i = 0; i < count; i++){ | ||
| const j = 9 |
There was a problem hiding this comment.
Codacy has a fix for the issue: Insert ;
| const j = 9 | |
| const j = 9; |
| for(let i = 0; i < count; i++){ | ||
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") |
There was a problem hiding this comment.
Codacy has a fix for the issue: Insert ;
| console.log("counting") | |
| console.log("counting"); |
| return `${count} ${plural}`; | ||
| }; | ||
|
|
||
| exports.method = function (count) { |
There was a problem hiding this comment.
Codacy has a fix for the issue: Delete ·
| exports.method = function (count) { | |
| exports.method = function (count) { |
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") | ||
| j-- |
There was a problem hiding this comment.
Codacy has a fix for the issue: Insert ;
| j-- | |
| j--; |
| exports.method = function (count) { | ||
| for(let i = 0; i < count; i++){ | ||
| const j = 9 | ||
| while(j>count){ |
There was a problem hiding this comment.
Codacy has a fix for the issue: Replace (j>count) with ·(j·>·count)·
| while(j>count){ | |
| while (j > count) { |
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") | ||
| j-- |
There was a problem hiding this comment.
Codacy has a fix for the issue: Insert ;
| j-- | |
| j--; |
| }; | ||
|
|
||
| exports.method = function (count) { | ||
| for(let i = 0; i < count; i++){ |
There was a problem hiding this comment.
Codacy has a fix for the issue: Replace (let·i·=·0;·i·<·count;·i++) with ·(let·i·=·0;·i·<·count;·i++)·
| 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 |
There was a problem hiding this comment.
Codacy has a fix for the issue: Insert ;
| const j = 9 | |
| const j = 9; |
| for(let i = 0; i < count; i++){ | ||
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") |
There was a problem hiding this comment.
Codacy has a fix for the issue: Insert ;
| console.log("counting") | |
| console.log("counting"); |
| return `${count} ${plural}`; | ||
| }; | ||
|
|
||
| exports.method = function (count) { |
There was a problem hiding this comment.
Codacy has a fix for the issue: Delete ·
| exports.method = function (count) { | |
| exports.method = function (count) { |
No description provided.