diff --git a/.babelrc b/.babelrc index e33295d9..feb5ba89 100644 --- a/.babelrc +++ b/.babelrc @@ -3,4 +3,4 @@ "plugins": ["@babel/plugin-proposal-class-properties", ["@babel/transform-runtime", { "regenerator": true }]] -} \ No newline at end of file +} diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..3274ec36 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true \ No newline at end of file diff --git a/.env b/.env index 7894bd43..e1396d1f 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ GENERATE_SOURCEMAP=false INLINE_RUNTIME_CHUNK=false -SKIP_PREFLIGHT_CHECK=true \ No newline at end of file +SKIP_PREFLIGHT_CHECK=true diff --git a/.gitignore b/.gitignore index 0cea6301..c43278be 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ build/ package-lock.json yarn-error.log .eslintcache -yarn.lock \ No newline at end of file +yarn.lock diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a72434b8..05d4f2f2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ A bug fix? See if it has fixed the issue fully on both Chromium and Firefox. For implemented. ### Translations -Please don't use Google Translate. When submitting new translations, we'd prefer it if you waited until it's finished before pull requesting or if you opened it as a draft. +Please don't use Google Translate. When submitting new translations, we'd prefer it if you waited until it's finished before pull requesting or if you opened it as a draft. All translation work should be done by copying the ``en-GB.json`` file to a file with your language code as the name, e.g ``fr.json``. ## Development @@ -34,4 +34,4 @@ Inspired features are fine. See the note in general. ## Final Note -Contact us before doing anything if you don't want to have to change 1000 things and/or have your pull request closed. \ No newline at end of file +Contact us before doing anything if you don't want to have to change 1000 things and/or have your pull request closed. diff --git a/README.md b/README.md index 3e40984e..1a554fb3 100644 --- a/README.md +++ b/README.md @@ -150,4 +150,4 @@ Please see our [roadmap](https://github.com/mue/mue/projects) Many thanks to [Highholding](https://discord.bio/p/highholding), [Noa Shapira](#), [Roee Lupo](https://github.com/RoeeLupo), [Jeroen](#), [Glasvegas](https://twitter.com/_glasvegas), [Anders](https://github.com/FuryingFox), [Oded Shapira](https://twitter.com/dondishdev), Jacob Tyrrell and [Nikka Lai](#) for letting us use their wonderful photographs. -And finally, a big thank you to all the [contributors](https://github.com/mue/mue/graphs/contributors)! \ No newline at end of file +And finally, a big thank you to all the [contributors](https://github.com/mue/mue/graphs/contributors)! diff --git a/babel.config.js b/babel.config.js index 6288e7f0..b7c4585f 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,4 +3,4 @@ module.exports = { plugins: ['@babel/plugin-proposal-class-properties', ['@babel/transform-runtime', { 'regenerator': true }]] -} \ No newline at end of file +} diff --git a/manifest/background-opera.js b/manifest/background-opera.js index 52809ac0..4624da3f 100644 --- a/manifest/background-opera.js +++ b/manifest/background-opera.js @@ -1,14 +1,14 @@ /* eslint-disable no-undef */ -// Original code sourced from https://forums.opera.com/topic/25046/how-to-disable-completely-the-speed-dial/14 +//Source https://forums.opera.com/topic/25046/how-to-disable-completely-the-speed-dial/14 chrome.tabs.onCreated.addListener((tab) => { - if (tab.status === 'complete' && tab.url === 'chrome://startpage/') chrome.tabs.update(tab.id, { - url: chrome.extension.getURL('index.html') - }); + if (tab.status === 'complete' && tab.url === 'chrome://startpage/') chrome.tabs.update(tab.id, { + url: chrome.extension.getURL('index.html') + }); }); chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => { - if (changeInfo.status === 'complete' && tab.url === 'chrome://startpage/') chrome.tabs.update(tabId, { - url: chrome.extension.getURL('index.html') - }); -}); \ No newline at end of file + if (changeInfo.status === 'complete' && tab.url === 'chrome://startpage/') chrome.tabs.update(tabId, { + url: chrome.extension.getURL('index.html') + }); +}); diff --git a/manifest/chrome.json b/manifest/chrome.json index 2e913d2b..e9358e66 100644 --- a/manifest/chrome.json +++ b/manifest/chrome.json @@ -1,18 +1,18 @@ { - "manifest_version": 2, - "offline_enabled": true, - "name": "Mue", - "description": "Fast, open and free-to-use new tab page for most modern browsers.", - "version": "5.0.0", - "browser_action": { - "default_icon": "icons/128x128.png" - }, - "chrome_url_overrides": { - "newtab": "index.html" - }, - "icons": { - "16": "icons/16x16.png", - "48": "icons/48x48.png", - "128": "icons/128x128.png" - } -} \ No newline at end of file + "manifest_version": 2, + "offline_enabled": true, + "name": "Mue", + "description": "Fast, open and free-to-use new tab page for most modern browsers.", + "version": "5.0.0", + "browser_action": { + "default_icon": "icons/128x128.png" + }, + "chrome_url_overrides": { + "newtab": "index.html" + }, + "icons": { + "16": "icons/16x16.png", + "48": "icons/48x48.png", + "128": "icons/128x128.png" + } +} diff --git a/manifest/firefox.json b/manifest/firefox.json index 3e8d660c..d63e01e5 100644 --- a/manifest/firefox.json +++ b/manifest/firefox.json @@ -1,15 +1,15 @@ { - "manifest_version": 2, - "name": "Mue", - "description": "Fast, open and free-to-use new tab page for most modern browsers.", - "version": "5.0.0", - "browser_action": { - "default_icon": "icons/128x128.png" - }, - "chrome_url_overrides": { - "newtab": "index.html" - }, - "chrome_settings_overrides": { - "homepage": "index.html" - } + "manifest_version": 2, + "name": "Mue", + "description": "Fast, open and free-to-use new tab page for most modern browsers.", + "version": "5.0.0", + "browser_action": { + "default_icon": "icons/128x128.png" + }, + "chrome_url_overrides": { + "newtab": "index.html" + }, + "chrome_settings_overrides": { + "homepage": "index.html" + } } diff --git a/manifest/opera.json b/manifest/opera.json index a0021666..3c7338cc 100644 --- a/manifest/opera.json +++ b/manifest/opera.json @@ -1,17 +1,17 @@ { - "manifest_version": 2, - "name": "Mue", - "description": "Fast, open and free-to-use new tab page for most modern browsers.", - "version": "5.0.0", - "browser_action": { - "default_icon": "icons/128x128.png" - }, - "background": { - "scripts": [ - "./background-opera.js" - ] - }, - "permissions": [ - "tabs" + "manifest_version": 2, + "name": "Mue", + "description": "Fast, open and free-to-use new tab page for most modern browsers.", + "version": "5.0.0", + "browser_action": { + "default_icon": "icons/128x128.png" + }, + "background": { + "scripts": [ + "./background-opera.js" ] -} \ No newline at end of file + }, + "permissions": [ + "tabs" + ] +} diff --git a/public/index.html b/public/index.html index 846cd177..10b486b1 100644 --- a/public/index.html +++ b/public/index.html @@ -35,5 +35,4 @@