tangled
alpha
login
or
join now
tylur.dev
/
prototypey
prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1
fork
atom
overview
issues
pulls
pipelines
formatting
Tyler
3 months ago
93302e30
35c9d0a9
+14
-2
2 changed files
expand all
collapse all
unified
split
eslint.config.js
packages
site
src
components
OutputPanel.tsx
+11
-1
eslint.config.js
···
2
2
import tseslint from "typescript-eslint";
3
3
4
4
export default tseslint.config(
5
5
-
{ ignores: ["**/lib/**", "**/dist/**", "node_modules", "pnpm-lock.yaml", "**/setup-vitest.ts", "**/cli.js", "**/tests/**"] },
5
5
+
{
6
6
+
ignores: [
7
7
+
"**/lib/**",
8
8
+
"**/dist/**",
9
9
+
"node_modules",
10
10
+
"pnpm-lock.yaml",
11
11
+
"**/setup-vitest.ts",
12
12
+
"**/cli.js",
13
13
+
"**/tests/**",
14
14
+
],
15
15
+
},
6
16
{ linterOptions: { reportUnusedDisableDirectives: "error" } },
7
17
eslint.configs.recommended,
8
18
{
+3
-1
packages/site/src/components/OutputPanel.tsx
···
22
22
setTheme(e.matches ? "vs-dark" : "vs-light");
23
23
};
24
24
mediaQuery.addEventListener("change", handleChange);
25
25
-
return () => { mediaQuery.removeEventListener("change", handleChange); };
25
25
+
return () => {
26
26
+
mediaQuery.removeEventListener("change", handleChange);
27
27
+
};
26
28
}, []);
27
29
28
30
return (