tsconfig: enable noUnusedLocals

merge-requests/3241/head
Alex Gleason 2024-11-09 16:40:25 -06:00
rodzic b4ae7ae280
commit 6e33ff2b45
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
2 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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(

Wyświetl plik

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