diff options
author | 2023-07-26 06:29:03 -0600 | |
---|---|---|
committer | 2023-07-26 17:59:03 +0530 | |
commit | 9b8f01716774a960073e944823ab727cc867a8f6 (patch) | |
tree | 732b83770baa78f5cf12776aaa33ce65bebfa418 /recipes/googlekeep | |
parent | Add Excalidraw recipe (#393) (diff) | |
download | ferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.tar.gz ferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.tar.zst ferdium-recipes-9b8f01716774a960073e944823ab727cc867a8f6.zip |
chore: improve lint setup (#397)
- update eslint config to closely mirror the ones from ferdium-app
- add .eslintignore
- opt in to eslint `reportUnusedDisableDirectives` config option
- remove `trailingComma: all` from `prettier` config which is default in `prettier` v3
- autofix or disable a lot of lint issues throughout codebase
- add `volta` configuration to `package.json` to autoload correct `node` and `pnpm` versions
- upgrade all `eslint` and `prettier` related dependencies to latest
- update lint:fix npm script
- reformat touched files with prettier
- bumped up minor version for all recipes that have changes
- introduced injection of 'service.css' where it was missing in many recipes
---------
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes/googlekeep')
-rw-r--r-- | recipes/googlekeep/LICENSE | 7 | ||||
-rw-r--r-- | recipes/googlekeep/icon.svg | 1 | ||||
-rw-r--r-- | recipes/googlekeep/index.js | 1 | ||||
-rw-r--r-- | recipes/googlekeep/package.json | 9 | ||||
-rw-r--r-- | recipes/googlekeep/webview.js | 16 |
5 files changed, 0 insertions, 34 deletions
diff --git a/recipes/googlekeep/LICENSE b/recipes/googlekeep/LICENSE deleted file mode 100644 index 8d55d49..0000000 --- a/recipes/googlekeep/LICENSE +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | Copyright 2017 SiloCityLabs LLC | ||
2 | |||
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
4 | |||
5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
6 | |||
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file | ||
diff --git a/recipes/googlekeep/icon.svg b/recipes/googlekeep/icon.svg deleted file mode 100644 index 20c040f..0000000 --- a/recipes/googlekeep/icon.svg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | <svg height="528" viewBox="0 0 48 48" width="528" xmlns="http://www.w3.org/2000/svg"><path d="M9 42h23l10-10V9a3 3 0 0 0-3-3H9a3 3 0 0 0-3 3v30a3 3 0 0 0 3 3z" fill="#ffc107"/><path d="M32 42V32h10z" fill="#ffecb3"/><path d="M32 20a8 8 0 0 0-16 0 8.002 8.002 0 0 0 5 7.414V35h6v-7.586A8.002 8.002 0 0 0 32 20z" fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="2"/><path d="M22 35h4v3h-4z" fill="#fff"/><path d="M21 31h6" fill="none" stroke="#fff" stroke-miterlimit="10" stroke-width="2"/></svg> \ No newline at end of file | ||
diff --git a/recipes/googlekeep/index.js b/recipes/googlekeep/index.js deleted file mode 100644 index dd41f72..0000000 --- a/recipes/googlekeep/index.js +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/googlekeep/package.json b/recipes/googlekeep/package.json deleted file mode 100644 index 6b949ca..0000000 --- a/recipes/googlekeep/package.json +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | { | ||
2 | "id": "googlekeep", | ||
3 | "name": "Google Keep", | ||
4 | "version": "1.3.1", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://keep.google.com/u/0/" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/googlekeep/webview.js b/recipes/googlekeep/webview.js deleted file mode 100644 index 86bb422..0000000 --- a/recipes/googlekeep/webview.js +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||