Skip to content

Commit

Permalink
Fix ESLint code violations
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Jan 4, 2024
1 parent 320efc2 commit 7c4874f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"spec": "tests/**/*.js",
"ignore": [
"tests/fixtures/**"
],
}
spec: "tests/**/*.js",
ignore: [
"tests/fixtures/**",
],
};
2 changes: 1 addition & 1 deletion lib/postprocess.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const cache = require("./cache.js");
const { coordinatesToIndex, indexToColumn } = require("./file_coordinates.js");
const { coordinatesToIndex } = require("./file_coordinates.js");
const { calculateOffset } = require("./offset_calculation.js");
const { transformFix } = require("./autofix.js");

Expand Down
2 changes: 1 addition & 1 deletion tests/postprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const cache = require("../lib/cache.js");

describe("postprocess", () => {
it("deletes file from cache after postprocessing", () => {
const text = `console.log("Hello world!");`;
const text = 'console.log("Hello world!");';
const name = "testfile.js";

pre(text, name);
Expand Down

0 comments on commit 7c4874f

Please sign in to comment.