Renaud Chaput
e6a7cfd12e
[Glitch] Add stricter ESLint rules for Typescript files
...
Port 5eeb40bdbe
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
96e99e2170
Run prettier on Typescript files
...
Port 51b83ed195
to glitch-soc
2 years ago
fusagiko / takayamaki
e8243d5bbd
[Glitch] Add type annotation for some js files
...
Port e38b391940
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Nick Schonning
51479f5c28
[Glitch] Add eslint-plugin-jsdoc
...
Port f22b4e556c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
16c5354b8c
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
2 years ago
fusagiko / takayamaki
66bda4713e
[Glitch] Allow `==` when null checking
...
Port c1a7e38d2b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
81ef21a0c8
[Glitch] Rename JSX files with proper `.jsx` extension
...
Port 44a7d87cb1
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Nick Schonning
6fdd596cc8
[Glitch] Enable ESLint Promise plugin defaults
...
Port 5e1c0c3d94
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Nick Schonning
7e64eef73b
[Glitch] Enable ESLint no-useless-escape
...
Port db2c58d47a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
3c451cf88f
[Glitch] Fix useless regular-expression character escape detected by CodeQL
2 years ago
Claire
155424e52f
[Glitch] Run eslint --fix
...
I don't like it changing files this way, but it's basically what
c49213f0ea
and a few others did.
2 years ago
Eugen Rochko
2d731dbde6
[Glitch] Add ability to view previous edits of a status in admin UI
...
Port f8ca3bb2a1
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
b728b25c10
Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji
2 years ago
Claire
b75bf336bd
Move more modules from flavours/glitch/utils to flavours/glitch
2 years ago
Claire
2535ec4fcb
Remove unused `redux_helpers` module
2 years ago
Claire
0f4a4d7527
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/compose/util/
2 years ago
Claire
7097a459be
Move flavours/glitch/utils/ready to flavours/glitch/ready
2 years ago
Claire
015e798394
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/ui/util/
2 years ago
Claire
d3879c07b1
Rename flavours/glitch/util into flavours/glitch/utils
2 years ago