Skip to content

Commit

Permalink
fix: bump gd-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
GabeDuarteM committed Feb 10, 2019
1 parent a62897b commit 7bf3f2d
Show file tree
Hide file tree
Showing 7 changed files with 704 additions and 3,777 deletions.
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: node_js
cache:
directories:
- ~/.npm
cache: yarn
node_js:
- node
- lts/*
Expand Down
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@
"devDependencies": {
"@types/chrome": "0.0.75",
"@types/node": "10.12.9",
"eslint-plugin-import": "2.13.0",
"eslint-plugin-prettier": "3.0.0",
"gd-scripts": "3.1.4",
"prettier": "1.15.2",
"rimraf": "2.6.2",
"semantic-release": "15.12.0",
"semantic-release-chrome": "1.0.1"
"gd-scripts": "4.0.0",
"rimraf": "2.6.3",
"semantic-release": "15.13.3",
"semantic-release-chrome": "1.1.0"
}
}
4 changes: 2 additions & 2 deletions src/options.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const saveOptions = () => {
const saveOptions = (): void => {
const normalAdWaitSeconds: string = (document.getElementById(
'normalAdWaitSeconds',
) as HTMLInputElement).value
Expand All @@ -20,7 +20,7 @@ const saveOptions = () => {
)
}

const restoreOptions = () => {
const restoreOptions = (): void => {
chrome.storage.sync.get(
{
normalAdWaitSeconds: 5000,
Expand Down
6 changes: 3 additions & 3 deletions src/youtube-autoclose-ads.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let adFound: boolean = false
let videoAdFound: boolean = false
let shouldCloseVideoAd: boolean = false
let adFound = false
let videoAdFound = false
let shouldCloseVideoAd = false
setInterval(() => {
chrome.storage.sync.get(
{
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "./node_modules/gd-scripts/typescript.web.json"
"extends": "./node_modules/gd-scripts/typescript.json",
"compilerOptions": {
"lib": ["esnext", "dom"]
}
}
4,446 changes: 690 additions & 3,756 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 7bf3f2d

Please sign in to comment.