From 2d510b8f3032d019ed72ca2a1f57da27c5719d65 Mon Sep 17 00:00:00 2001 From: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Fri, 17 Apr 2020 12:59:08 +0530 Subject: [PATCH] fix: apply new prettier rules --- package.json | 2 +- source/Background/index.ts | 4 +- source/Options/Options.tsx | 40 +++++++++++-------- source/Popup/Popup.tsx | 78 ++++++++++++++++++++------------------ yarn.lock | 8 ++-- 5 files changed, 72 insertions(+), 60 deletions(-) diff --git a/package.json b/package.json index 4961a31..0e4bcee 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "webextension-polyfill-ts": "^0.14.0" }, "devDependencies": { - "@abhijithvijayan/eslint-config": "0.14.1", + "@abhijithvijayan/eslint-config": "^1.3.0", "@abhijithvijayan/tsconfig": "^1.1.2", "@babel/core": "^7.9.0", "@babel/plugin-proposal-class-properties": "^7.8.3", diff --git a/source/Background/index.ts b/source/Background/index.ts index 0ccd78a..0cee38c 100644 --- a/source/Background/index.ts +++ b/source/Background/index.ts @@ -1,5 +1,5 @@ -import { browser } from 'webextension-polyfill-ts'; +import {browser} from 'webextension-polyfill-ts'; browser.runtime.onInstalled.addListener((): void => { - console.log('extension installed'); + console.log('extension installed'); }); diff --git a/source/Options/Options.tsx b/source/Options/Options.tsx index a44c173..7ad0fae 100644 --- a/source/Options/Options.tsx +++ b/source/Options/Options.tsx @@ -3,22 +3,30 @@ import React from 'react'; import './styles.scss'; const Options: React.FC = () => { - return ( -