Merge branch 'noUnusedLocals' into 'main'

tsconfig: enable noUnusedLocals

See merge request soapbox-pub/soapbox!3224
This commit is contained in:
Alex Gleason 2024-11-09 22:41:11 +00:00
commit 2052663a2c
2 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,6 @@
*/
import { LinkPlugin as LexicalLinkPlugin } from '@lexical/react/LexicalLinkPlugin';
import * as React from 'react';
// Source: https://stackoverflow.com/a/8234912/2013580
const urlRegExp = new RegExp(

View File

@ -10,6 +10,7 @@
"jsx": "react-jsx",
"allowJs": true,
"isolatedModules": true,
"noUnusedLocals": true,
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"esModuleInterop": true,