Commit graph

16 commits

Author SHA1 Message Date
Nick Schonning
55561098c4 [Glitch] Add eslint-plugin-jsdoc
Port 0224c3c0d9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-08 15:48:08 +02:00
Claire
db240323f6 Fix some more JS linting issues (#2211)
* Minor refactor and linting fixup in `flavours/glitch/actions/accounts.js`

This is some added boilerplate but it's much more consistent with the remaining
of the code, and avoids the linting issue.

* Fix missing /privacy-policy link in DM warning because of wrongly-named import

* Fix unnecessary import

* Fix regexp in flavours/glitch/utils/hashtag.js
2023-05-08 14:02:41 +02:00
fusagiko / takayamaki
e45bb3f893 [Glitch] Allow == when null checking
Port f14395c2cf to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-04-29 11:09:46 +02:00
Renaud Chaput
295d193e7f [Glitch] Rename JSX files with proper .jsx extension
Port ae3812d182 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:35:31 +01:00
Nick Schonning
0bf3bbf662 [Glitch] Enable ESLint Promise plugin defaults
Port a80ff32d9a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-19 10:53:18 +01:00
Nick Schonning
a0bef6bdb6 [Glitch] Enable ESLint no-useless-escape
Port 1c2ca9557f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-18 16:02:12 +01:00
Claire
3afef18f59 [Glitch] Fix useless regular-expression character escape detected by CodeQL 2023-02-03 21:14:41 +01:00
Claire
5d7c0b3254 [Glitch] Run eslint --fix
I don't like it changing files this way, but it's basically what
9a5233f107 and a few others did.
2023-02-03 20:52:07 +01:00
Eugen Rochko
76e6e35a52 [Glitch] Add ability to view previous edits of a status in admin UI
Port 3e5588bf70 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +02:00
Claire
d540cfc73f Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji 2022-10-11 12:43:19 +02:00
Claire
bf6b66bf32 Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
Claire
3f30353684 Remove unused redux_helpers module 2022-10-11 12:15:29 +02:00
Claire
61c3d9fc75 Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/compose/util/ 2022-10-11 12:15:08 +02:00
Claire
bd82ae6aaa Move flavours/glitch/utils/ready to flavours/glitch/ready 2022-10-11 11:31:11 +02:00
Claire
812b755bcb Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/ui/util/ 2022-10-11 11:31:11 +02:00
Claire
874cd0e883 Rename flavours/glitch/util into flavours/glitch/utils 2022-10-11 11:31:11 +02:00