tsconfig: enable noUnusedLocals

This commit is contained in:
Alex Gleason 2024-11-09 16:40:25 -06:00
parent b4ae7ae280
commit 6e33ff2b45
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 1 additions and 1 deletions

View File

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

View File

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