tsconfig: enable noUnusedLocals
This commit is contained in:
parent
b4ae7ae280
commit
6e33ff2b45
|
@ -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(
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
"jsx": "react-jsx",
|
||||
"allowJs": true,
|
||||
"isolatedModules": true,
|
||||
"noUnusedLocals": true,
|
||||
"moduleResolution": "Bundler",
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
|
|
Loading…
Reference in New Issue