diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 38c99b105..b3430d6a4 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,6 +1,7 @@ { "linters": { "ui/**/*.{js,jsx,scss,json}": ["prettier --write", "git add"], + "lbrytv/component/*.{js,jsx,scss,json}": ["prettier --write", "git add"], "ui/**/*.{js,jsx}": ["eslint", "flow focus-check --color always", "git add"] } } diff --git a/lbrytv/component/ad/index.jsx b/lbrytv/component/ads.jsx similarity index 67% rename from lbrytv/component/ad/index.jsx rename to lbrytv/component/ads.jsx index 01b62663c..e7162f434 100644 --- a/lbrytv/component/ad/index.jsx +++ b/lbrytv/component/ads.jsx @@ -15,19 +15,23 @@ function Extra(props) { document.body.removeChild(script); // if user navigates too rapidly,