Merge branch 'noUnusedLocals' into 'main'
tsconfig: enable noUnusedLocals See merge request soapbox-pub/soapbox!3224
This commit is contained in:
commit
2052663a2c
|
@ -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(
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue