-
Notifications
You must be signed in to change notification settings - Fork 7
some more methods #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
teste comment |
| }; | ||
|
|
||
|
|
||
| exports.pluralize_v2 = function (count, singular, plural) { |
There was a problem hiding this comment.
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-- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Missing semicolon. (semi)
| for(let i = 0; i < count; i++){ | ||
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Missing semicolon. (semi)
| }; | ||
|
|
||
| let result; | ||
| async function foo() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: 'foo' is defined but never used.
|
|
||
| }; | ||
|
|
||
| function foo(a, b, a) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: 'x' is defined but never used.
| result = result + doSomething(await somethingElse); | ||
| } | ||
|
|
||
| function* bar() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Unexpected console statement. (no-console)
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") | ||
| j-- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Expected space(s) after "for". (keyword-spacing)
|
|
||
| exports.method = function (count) { | ||
| for(let i = 0; i < count; i++){ | ||
| const j = 9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Missing semicolon. (semi)
| }; | ||
|
|
||
| function foo(a, b, a) { | ||
| typeof a === undefined |
There was a problem hiding this comment.
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"); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
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++)·
| 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.
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)·
| 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.
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 ;
| 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.
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 ;
| console.log("counting") | |
| console.log("counting"); |
| return `${count} ${plural}`; | ||
| }; | ||
|
|
||
| exports.method = function (count) { |
There was a problem hiding this comment.
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 ·
| 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.
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 ;
| 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.
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)·
| while(j>count){ | |
| while (j > count) { |
| const j = 9 | ||
| while(j>count){ | ||
| console.log("counting") | ||
| j-- |
There was a problem hiding this comment.
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 ;
| j-- | |
| j--; |
| }; | ||
|
|
||
| exports.method = function (count) { | ||
| for(let i = 0; i < count; i++){ |
There was a problem hiding this comment.
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++)·
| 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.
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 ;
| 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.
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 ;
| console.log("counting") | |
| console.log("counting"); |
| return `${count} ${plural}`; | ||
| }; | ||
|
|
||
| exports.method = function (count) { |
There was a problem hiding this comment.
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 ·
| exports.method = function (count) { | |
| exports.method = function (count) { |
No description provided.