Skip to content

Commit ef20336

Browse files
committed
Add organizeImports and eslint config, update Popup, cleanup
1 parent b751804 commit ef20336

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.vscode/settings.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2-
"editor.formatOnSave": true
3-
}
2+
"editor.formatOnSave": true,
3+
"typescript.updateImportsOnFileMove.enabled": "always",
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": true,
6+
"source.organizeImports": true
7+
}
8+
}

src/pages/Background/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// import axios from 'axios';
2-
31
console.log('This is the background page.');
42

53
// Example for listening to tab switching/loading

src/pages/Popup/Popup.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import axios from 'axios';
2-
import React, { useEffect, useState } from 'react';
1+
import React, { useState } from 'react';
32
import logo from '../../assets/img/logo.svg';
4-
import { Greetings } from '../../containers/Greetings/Greetings';
53
import './Popup.css';
64

75
export const Popup = () => {

0 commit comments

Comments
 (0)