Skip to content

Commit 9fb02f7

Browse files
authored
Merge pull request #15 from dgmstuart/eslint
Redo ESlint setup
2 parents 6e294c6 + 3286a49 commit 9fb02f7

15 files changed

+1682
-2104
lines changed

eslint.config.mjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
2+
import eslint from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
5+
export default tseslint.config(
6+
eslint.configs.recommended,
7+
...tseslint.configs.recommended,
8+
{
9+
ignores: ["dist"],
10+
rules: {
11+
"no-var": "error",
12+
"prefer-const": "error",
13+
"func-style": ["error", "expression"],
14+
},
15+
},
16+
eslintPluginPrettierRecommended,
17+
);

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
@@ -8,7 +8,7 @@
88
<meta
99
name="description"
1010
content="An app for playing bingo with Lindy Hop team routines"
11-
/>
11+
/>
1212
<link rel="apple-touch-icon" href="/logo192.png" />
1313
<link rel="manifest" href="/manifest.json" />
1414
<title>Team Lindy Bingo</title>

0 commit comments

Comments
 (0)