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
13 changes: 13 additions & 0 deletions myFile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const html2canvas = require('html2canvas');
const test1 = require('@/helpers/helper1');
const test2 = require('@/helpers/helper2');

module.exports = (a, b) => {
const sum = a + b;

return sum;
};

const lodash = require('lodash');
Comment on lines +3 to +11

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Found 7 line(s) between require lines 3 and 11 but there shouldn't be any

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Line 11 (packages) should appear before line 2 (other)

Expected order:
packages >> other

Comment thread
trolit marked this conversation as resolved.

const test3 = require('@/helpers/helper3');
Comment on lines +11 to +13

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Found 1 line(s) between require lines 11 and 13 but there shouldn't be any