Skip to content

Commit 227e2e5

Browse files
committed
update deps and fix lint errors
1 parent 8a1a324 commit 227e2e5

File tree

5 files changed

+3902
-9969
lines changed

5 files changed

+3902
-9969
lines changed

eslint.config.js

Lines changed: 12 additions & 0 deletions
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/40-define-functions/150-define-functions-return/index.js

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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;

0 commit comments

Comments
 (0)