Skip to content

Commit

Permalink
Remove additional lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
samccone committed Mar 28, 2020
1 parent f9b3bec commit ea495fe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions src/App.tsx
Expand Up @@ -12,10 +12,6 @@ const Resolve = lazy(() => import("./resolve/Resolve"));
type T = typeof Resolve;

class App extends Component {
constructor(props: {}) {
super(props);
}

state = {};

render() {
Expand Down
2 changes: 1 addition & 1 deletion src/import/prefix_cleaner.ts
Expand Up @@ -8,7 +8,7 @@ export function findCommonPrefix(strings: string[]): string | null {
let matched = false;
for (let splitPoint = k.length; splitPoint > 0; splitPoint--) {
const split = k.slice(0, splitPoint);
if (commonPrefix.indexOf(split) != -1) {
if (commonPrefix.indexOf(split) !== -1) {
commonPrefix = split;
matched = true;
break;
Expand Down
1 change: 0 additions & 1 deletion src/import/rollup/Import.tsx
Expand Up @@ -4,7 +4,6 @@ import { readFileAsText, readFilesAsText } from "../file_reader";
import { processImports, buildImportErrorReport } from "../process_imports";
import { ImportProps, ImportResolveState, ImportState } from "../../types";


// noopener noreferrer
class RollupImport extends Component<ImportProps, ImportState> {
sourceMapInput?: React.RefObject<HTMLInputElement & { files: FileList }>;
Expand Down

0 comments on commit ea495fe

Please sign in to comment.