Skip to content

Commit be7addf

Browse files
committed
Fixed lint warnings.
1 parent 0073745 commit be7addf

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Run build
2626
run: pnpm run build
2727
- name: Lint source code
28-
run: pnpm run lint
28+
run: pnpm run lint --max-warnings=0
2929
- name: Run all tests
3030
run: pnpm run test:all
3131
- name: Sanity check standalone build

standalone/mock/assert.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ class AssertionError extends Error {
6767

6868
function fail(actual, expected, message, operator, stackStartFunction) {
6969
throw new AssertionError({
70-
message: message,
71-
actual: actual,
72-
expected: expected,
73-
operator: operator,
74-
stackStartFunction: stackStartFunction,
70+
message,
71+
actual,
72+
expected,
73+
operator,
74+
stackStartFunction,
7575
});
7676
}
7777

standalone/mock/path.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,16 @@ export function extname(path) {
212212
export const posix = { dirname };
213213

214214
export default {
215-
extname: extname,
216-
basename: basename,
217-
dirname: dirname,
218-
sep: sep,
219-
delimiter: delimiter,
220-
relative: relative,
221-
join: join,
222-
isAbsolute: isAbsolute,
223-
normalize: normalize,
224-
resolve: resolve,
215+
extname,
216+
basename,
217+
dirname,
218+
sep,
219+
delimiter,
220+
relative,
221+
join,
222+
isAbsolute,
223+
normalize,
224+
resolve,
225225
posix: { dirname },
226226
};
227227

0 commit comments

Comments
 (0)