diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-07-26 06:29:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 17:59:03 +0530 |
commit | 9b8f01716774a960073e944823ab727cc867a8f6 (patch) | |
tree | 732b83770baa78f5cf12776aaa33ce65bebfa418 /recipes/protoncalendar | |
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/protoncalendar')
-rw-r--r-- | recipes/protoncalendar/darkmode.css | 1 | ||||
-rw-r--r-- | recipes/protoncalendar/icon.svg | 147 | ||||
-rw-r--r-- | recipes/protoncalendar/index.js | 1 | ||||
-rw-r--r-- | recipes/protoncalendar/package.json | 9 | ||||
-rw-r--r-- | recipes/protoncalendar/webview.js | 16 |
5 files changed, 0 insertions, 174 deletions
diff --git a/recipes/protoncalendar/darkmode.css b/recipes/protoncalendar/darkmode.css deleted file mode 100644 index 8eeeb07..0000000 --- a/recipes/protoncalendar/darkmode.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ | ||
diff --git a/recipes/protoncalendar/icon.svg b/recipes/protoncalendar/icon.svg deleted file mode 100644 index 6522ffd..0000000 --- a/recipes/protoncalendar/icon.svg +++ /dev/null | |||
@@ -1,147 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <svg | ||
3 | viewBox="0 0 36.054688 36" | ||
4 | width="142" | ||
5 | height="141.78462" | ||
6 | fill="none" | ||
7 | class="logo with-wordmark" | ||
8 | aria-labelledby="logo-14-title" | ||
9 | version="1.1" | ||
10 | id="svg53" | ||
11 | sodipodi:docname="icon.svg" | ||
12 | inkscape:version="1.2.2 (b0a8486541, 2022-12-01)" | ||
13 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
14 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
15 | xmlns="http://www.w3.org/2000/svg" | ||
16 | xmlns:svg="http://www.w3.org/2000/svg"> | ||
17 | <sodipodi:namedview | ||
18 | id="namedview55" | ||
19 | pagecolor="#505050" | ||
20 | bordercolor="#eeeeee" | ||
21 | borderopacity="1" | ||
22 | inkscape:showpageshadow="0" | ||
23 | inkscape:pageopacity="0" | ||
24 | inkscape:pagecheckerboard="0" | ||
25 | inkscape:deskcolor="#505050" | ||
26 | showgrid="false" | ||
27 | inkscape:zoom="4.3737652" | ||
28 | inkscape:cx="57.501944" | ||
29 | inkscape:cy="54.415358" | ||
30 | inkscape:window-width="1856" | ||
31 | inkscape:window-height="1043" | ||
32 | inkscape:window-x="64" | ||
33 | inkscape:window-y="0" | ||
34 | inkscape:window-maximized="1" | ||
35 | inkscape:current-layer="svg53" /> | ||
36 | <defs | ||
37 | id="defs50"> | ||
38 | <linearGradient | ||
39 | id="logo-14-a" | ||
40 | x1="23.450001" | ||
41 | x2="18.57" | ||
42 | y1="18.09" | ||
43 | y2="-2.77" | ||
44 | gradientUnits="userSpaceOnUse"> | ||
45 | <stop | ||
46 | stop-color="#E2DBFF" | ||
47 | id="stop16" /> | ||
48 | <stop | ||
49 | offset="1" | ||
50 | stop-color="#6D4AFF" | ||
51 | id="stop18" /> | ||
52 | </linearGradient> | ||
53 | <linearGradient | ||
54 | id="logo-14-b" | ||
55 | x1="35.25" | ||
56 | x2="18.57" | ||
57 | y1="38.169998" | ||
58 | y2="2.55" | ||
59 | gradientUnits="userSpaceOnUse"> | ||
60 | <stop | ||
61 | offset=".27" | ||
62 | stop-color="#E2DBFF" | ||
63 | id="stop21" /> | ||
64 | <stop | ||
65 | offset="1" | ||
66 | stop-color="#6D4AFF" | ||
67 | id="stop23" /> | ||
68 | </linearGradient> | ||
69 | <linearGradient | ||
70 | id="paint1_linear_213_165" | ||
71 | x1="394.34399" | ||
72 | y1="328.811" | ||
73 | x2="176.76601" | ||
74 | y2="28.745399" | ||
75 | gradientUnits="userSpaceOnUse" | ||
76 | gradientTransform="matrix(0.0977312,0,0,0.0977312,-8.9763659,-9.0135482)"> | ||
77 | <stop | ||
78 | stop-color="#BFE8FF" | ||
79 | id="stop886" /> | ||
80 | <stop | ||
81 | offset="0.3075" | ||
82 | stop-color="#BFACFF" | ||
83 | id="stop888" /> | ||
84 | <stop | ||
85 | offset="1" | ||
86 | stop-color="#7348FF" | ||
87 | id="stop890" /> | ||
88 | </linearGradient> | ||
89 | <radialGradient | ||
90 | id="paint0_radial_213_165" | ||
91 | cx="0" | ||
92 | cy="0" | ||
93 | r="1" | ||
94 | gradientUnits="userSpaceOnUse" | ||
95 | gradientTransform="matrix(-16.956227,45.542823,-60.688746,-22.595265,24.156758,-10.482047)"> | ||
96 | <stop | ||
97 | offset="0.5561" | ||
98 | stop-color="#07B9FF" | ||
99 | stop-opacity="0" | ||
100 | id="stop881" /> | ||
101 | <stop | ||
102 | offset="0.9944" | ||
103 | stop-color="#07B9FF" | ||
104 | id="stop883" /> | ||
105 | </radialGradient> | ||
106 | </defs> | ||
107 | <title | ||
108 | id="logo-14-title">Proton Mail</title> | ||
109 | <path | ||
110 | fill-rule="evenodd" | ||
111 | clip-rule="evenodd" | ||
112 | d="m 4.5105391,3.8869698 c -1.944851,0 -3.51832301,1.573472 -3.51832301,3.518323 V 28.515232 c 0,1.944851 1.57347201,3.518323 3.51832301,3.518323 H 22.444214 v -8.434202 c 0,-2.189179 1.768935,-3.958114 3.958114,-3.958114 h 8.600346 V 7.4052928 c 0,-1.944851 -1.573473,-3.518323 -3.518324,-3.518323 z" | ||
113 | fill="#6d49ff" | ||
114 | id="path869" | ||
115 | style="stroke-width:0.0977311" /> | ||
116 | <path | ||
117 | fill-rule="evenodd" | ||
118 | clip-rule="evenodd" | ||
119 | d="m 0.99221609,7.4052928 c 0,-1.944851 1.57347201,-3.518323 3.51832301,-3.518323 H 31.48435 c 1.944851,0 3.518324,1.573472 3.518324,3.518323 V 19.641239 h -8.600346 c -2.189179,0 -3.958114,1.768935 -3.958114,3.958114 v 8.434202 H 4.5105391 c -1.944851,0 -3.51832301,-1.573472 -3.51832301,-3.518323 z" | ||
120 | fill="url(#paint0_radial_213_165)" | ||
121 | id="path871" | ||
122 | style="fill:url(#paint0_radial_213_165);stroke-width:0.0977311" /> | ||
123 | <path | ||
124 | fill-rule="evenodd" | ||
125 | clip-rule="evenodd" | ||
126 | d="m 0.99221609,7.4052928 c 0,-1.944851 1.57347201,-3.518323 3.51832301,-3.518323 H 31.48435 c 1.944851,0 3.518324,1.573472 3.518324,3.518323 V 19.641239 h -7.232109 v -8.815354 c 0,-1.5148332 -1.22164,-2.7364732 -2.736474,-2.7364732 H 0.99221609 Z" | ||
127 | fill="url(#paint1_linear_213_165)" | ||
128 | id="path873" | ||
129 | style="fill:url(#paint1_linear_213_165);stroke-width:0.0977311" /> | ||
130 | <path | ||
131 | fill-rule="evenodd" | ||
132 | clip-rule="evenodd" | ||
133 | d="m 23.472151,20.935884 c -0.638967,0.702688 -1.027937,1.6369 -1.027937,2.663469 v 8.424429 h -6.010468 v -1.632111 c 0,-0.840488 0.293193,-1.641884 0.840488,-2.28691 l 6.196158,-7.271201 z" | ||
134 | fill="#b8d8ff" | ||
135 | id="path875" | ||
136 | style="stroke-width:0.0977311" /> | ||
137 | <path | ||
138 | d="m 25.913672,27.557466 h 1.241186 c 0.04886,0.215009 0.175916,0.410471 0.351832,0.537522 0.175917,0.136824 0.390925,0.195462 0.615707,0.185689 0.557068,0 0.928446,-0.31274 0.928446,-0.762303 0,-0.449564 -0.381151,-0.703665 -1.143454,-0.703665 h -0.488656 v -1.016404 h 0.430017 c 0.732984,0 1.03595,-0.273648 1.03595,-0.674346 0,-0.400698 -0.322512,-0.684118 -0.772076,-0.684118 -0.205235,-0.0098 -0.400698,0.05864 -0.557068,0.185689 -0.15637,0.136824 -0.244328,0.322513 -0.263874,0.517975 h -1.182548 c 0.03909,-0.713437 0.605934,-1.729842 2.00349,-1.729842 1.123909,0 1.905758,0.645026 1.905758,1.544153 0,0.293194 -0.08796,0.576614 -0.263874,0.811169 -0.166143,0.234555 -0.410471,0.410471 -0.684118,0.498429 v 0.01955 c 0.322513,0.05864 0.615706,0.234555 0.820942,0.488656 0.205235,0.254101 0.31274,0.576614 0.302966,0.899127 0,0.977312 -0.899127,1.622338 -2.052355,1.622338 -1.260732,0.0098 -2.140313,-0.693892 -2.228271,-1.739615 z" | ||
139 | fill="#7348ff" | ||
140 | id="path877" | ||
141 | style="stroke-width:0.0977311" /> | ||
142 | <path | ||
143 | d="m 32.334612,23.521168 h 0.899127 v 5.697729 h -1.163002 v -4.368585 l -1.123908,0.762303 v -1.153228 z" | ||
144 | fill="#7348ff" | ||
145 | id="path879" | ||
146 | style="stroke-width:0.0977311" /> | ||
147 | </svg> | ||
diff --git a/recipes/protoncalendar/index.js b/recipes/protoncalendar/index.js deleted file mode 100644 index dd41f72..0000000 --- a/recipes/protoncalendar/index.js +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/protoncalendar/package.json b/recipes/protoncalendar/package.json deleted file mode 100644 index 85da1bb..0000000 --- a/recipes/protoncalendar/package.json +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | { | ||
2 | "id": "protoncalendar", | ||
3 | "name": "ProtonCalendar", | ||
4 | "version": "1.4.1", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://calendar.proton.me/" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/protoncalendar/webview.js b/recipes/protoncalendar/webview.js deleted file mode 100644 index 86bb422..0000000 --- a/recipes/protoncalendar/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 | }; | ||