Skip to content

Commit 734e3b9

Browse files
committed
update deps
Signed-off-by: Kirill Mokevnin <[email protected]>
1 parent 18859bc commit 734e3b9

File tree

10 files changed

+2319
-7579
lines changed

10 files changed

+2319
-7579
lines changed

.eslintignore

Whitespace-only changes.

.eslintrc.yml

-13
This file was deleted.

eslint.config.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
5+
6+
/** @type {import('eslint').Linter.Config[]} */
7+
export default [
8+
{files: ["**/*.{js,mjs,cjs,ts}"]},
9+
{languageOptions: { globals: globals.browser }},
10+
pluginJs.configs.recommended,
11+
...tseslint.configs.recommended,
12+
];

modules/10-basics/10-hello-world/test.js

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { expect, test, vi } from 'vitest'
22

33
test('hello world', async () => {
44
const consoleLogSpy = vi.spyOn(console, 'log').mockImplementation(() => { });
5-
// @ts-ignore
65
await import('./index.js')
76

87
const firstArg = consoleLogSpy.mock.calls[0]?.[0];

modules/40-define-functions/150-define-functions-return/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable arrow-body-style */
2-
31
// BEGIN
42
const sayHurrayThreeTimes = () => {
53
const word = 'hurray!';

modules/50-loops/50-mutators/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable no-plusplus */
2-
31
// BEGIN
42
const makeItFunny = (str, n) => {
53
let i = 0;

modules/50-loops/70-for/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from 'vitest'
1+
import { expect, test } from 'vitest';
22
import f from './index.js';
33

44
test('test', () => {

0 commit comments

Comments
 (0)