Skip to content

Commit ba0116a

Browse files
committed
chore: linting
1 parent a4597dd commit ba0116a

File tree

18 files changed

+86
-43
lines changed

18 files changed

+86
-43
lines changed

package-lock.json

Lines changed: 30 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/binCases/config-location/find-recursively/packages/foo/find-recursively.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test("find-recursively", () => {
99
"--output-chunk-filename",
1010
"[id].chunk.js",
1111
"--target",
12-
"async-node",
12+
"async-node"
1313
]);
1414
expect(code).toBe(0);
1515
expect(stdout).toEqual(expect.anything());

test/binCases/config-location/not-found/not-found.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test("not-found", () => {
1111
"--target",
1212
"async-node",
1313
"--mode",
14-
"production",
14+
"production"
1515
]);
1616
expect(code).toBe(0);
1717
expect(stdout).toContain("./src/index.js");

test/binCases/config-location/set-explicitly/set-explicitly.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test("set-explicitly", () => {
1313
"--output-chunk-filename",
1414
"[id].chunk.js",
1515
"--target",
16-
"async-node",
16+
"async-node"
1717
]);
1818
expect(code).toBe(0);
1919
expect(stdout).toEqual(expect.anything());

test/binCases/config-location/set-implicitly/set-implicitly.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test("set-implicitly", () => {
99
"--output-chunk-filename",
1010
"[id].chunk.js",
1111
"--target",
12-
"async-node",
12+
"async-node"
1313
]);
1414
expect(code).toBe(0);
1515
expect(stdout).toEqual(expect.anything());

test/binCases/config-location/webpack-babel-config/webpack-babel-config.test.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
const { run } = require("../../../testUtils");
44

55
test("webpack-babel-config", () => {
6-
const { stdout, stderr } = run(__dirname, [
7-
"--target",
8-
"async-node",
9-
"-r",
10-
"esm",
11-
"@babel/register"
12-
]);
6+
const { stdout, stderr } = run(__dirname, ["--target", "async-node", "-r", "esm", "@babel/register"]);
137
expect(stdout).toContain("es6.js");
148
expect(stderr).toHaveLength(0);
159
});

test/binCases/config-location/webpackfile-config/packages/foo/webpackfile-config.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test("find-recursively", () => {
99
"--output-chunk-filename",
1010
"[id].chunk.js",
1111
"--target",
12-
"async-node",
12+
"async-node"
1313
]);
1414
expect(code).toBe(0);
1515
expect(stdout).toEqual(expect.anything());

test/binCases/config-type/array/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ module.exports = [
1212
}
1313
}
1414
];
15-

test/binCases/config-type/invalid-array/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ module.exports = [
1313
}
1414
}
1515
];
16-
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
module.exports = 100;
2-

0 commit comments

Comments
 (0)