diff --git a/.deepsource.toml b/.deepsource.toml
new file mode 100644
index 0000000000..dfbccd88ae
--- /dev/null
+++ b/.deepsource.toml
@@ -0,0 +1,19 @@
+version = 1
+
+exclude_patterns = [
+ "static/**",
+ "deploy/**",
+ "contributions/**"
+]
+
+[[analyzers]]
+name = "javascript"
+enabled = true
+
+ [analyzers.meta]
+ plugins = ["react"]
+ environment = [
+ "nodejs",
+ "browser"
+ ]
+ dialect = "typescript"
diff --git a/app/client/src/components/ads/Button.tsx b/app/client/src/components/ads/Button.tsx
index 11c877be92..5afc28c04a 100644
--- a/app/client/src/components/ads/Button.tsx
+++ b/app/client/src/components/ads/Button.tsx
@@ -381,7 +381,7 @@ const TextLoadingState = ({ text }: { text?: string }) => (
);
const IconLoadingState = ({ size, icon }: { size?: Size; icon?: IconName }) => (
-
+
);
const getIconContent = (props: ButtonProps) =>
diff --git a/app/client/src/components/ads/EditableText.tsx b/app/client/src/components/ads/EditableText.tsx
index 6346f67c16..3656267c22 100644
--- a/app/client/src/components/ads/EditableText.tsx
+++ b/app/client/src/components/ads/EditableText.tsx
@@ -263,7 +263,7 @@ export const EditableText = (props: EditableTextProps) => {
onChange={onInputchange}
onConfirm={onConfirm}
value={value}
- selectAllOnFocus={true}
+ selectAllOnFocus
placeholder={props.placeholder || defaultValue}
className={props.className}
onCancel={onConfirm}
diff --git a/app/client/src/components/designSystems/appsmith/PopoverVideo.tsx b/app/client/src/components/designSystems/appsmith/PopoverVideo.tsx
index b08c3191dd..dc4d490fa0 100644
--- a/app/client/src/components/designSystems/appsmith/PopoverVideo.tsx
+++ b/app/client/src/components/designSystems/appsmith/PopoverVideo.tsx
@@ -35,7 +35,7 @@ const PopoverVideo = (props: VideoComponentProps) => {
minimal
usePortal
enforceFocus={false}
- lazy={true}
+ lazy
modifiers={{
flip: {
behavior: ["right", "left", "bottom", "top"],
diff --git a/app/client/src/components/designSystems/appsmith/TableHeader.tsx b/app/client/src/components/designSystems/appsmith/TableHeader.tsx
index 8e94ede01d..eb96bcc07b 100644
--- a/app/client/src/components/designSystems/appsmith/TableHeader.tsx
+++ b/app/client/src/components/designSystems/appsmith/TableHeader.tsx
@@ -55,7 +55,7 @@ const PageNumberInput = (props: {
min={1}
max={props.pageCount || 1}
buttonPosition="none"
- clampValueOnBlur={true}
+ clampValueOnBlur
onBlur={(e: any) => {
const oldPageNo = Number(props.pageNo || 0);
const value = e.target.value;
diff --git a/app/client/src/components/designSystems/appsmith/help/HelpModal.tsx b/app/client/src/components/designSystems/appsmith/help/HelpModal.tsx
index d455d75cd3..87efe89db2 100644
--- a/app/client/src/components/designSystems/appsmith/help/HelpModal.tsx
+++ b/app/client/src/components/designSystems/appsmith/help/HelpModal.tsx
@@ -114,7 +114,7 @@ class HelpModal extends React.Component {
<>
{isHelpModalOpen && (