Commit 9fbdc5bd authored by Robert Knight's avatar Robert Knight

Remove obsolete prop-types lint suppressions

Prop-types checks are now globally disabled because we're using JSDoc +
TS instead.
parent b30a9d96
...@@ -16,7 +16,6 @@ import { ...@@ -16,7 +16,6 @@ import {
* *
* This is used to test PDF-specific highlighting behavior. * This is used to test PDF-specific highlighting behavior.
*/ */
// eslint-disable-next-line react/prop-types
function PdfPage({ showPlaceholder = false }) { function PdfPage({ showPlaceholder = false }) {
return ( return (
<div className="page"> <div className="page">
......
...@@ -132,7 +132,6 @@ describe('shared/shortcut', () => { ...@@ -132,7 +132,6 @@ describe('shared/shortcut', () => {
}); });
describe('useShortcut', () => { describe('useShortcut', () => {
// eslint-disable-next-line react/prop-types
function Button({ shortcut = null, onClick }) { function Button({ shortcut = null, onClick }) {
useShortcut(shortcut, onClick); useShortcut(shortcut, onClick);
return <button onClick={onClick}>Shortcut test</button>; return <button onClick={onClick}>Shortcut test</button>;
......
...@@ -208,9 +208,7 @@ describe('ThreadList', () => { ...@@ -208,9 +208,7 @@ describe('ThreadList', () => {
fakeTopThread.children.push({ id }); fakeTopThread.children.push({ id });
} }
// eslint-disable-next-line react/prop-types
const FakeThreadCard = ({ thread }) => { const FakeThreadCard = ({ thread }) => {
// eslint-disable-next-line react/prop-types
const height = threadHeights[thread.id]; const height = threadHeights[thread.id];
return <div className="fake-ThreadCard" style={{ height }} />; return <div className="fake-ThreadCard" style={{ height }} />;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment