Commit Graph

39 Commits

Author SHA1 Message Date
Alex Gleason c5d46d1a15
eslint: disable consistent-return 2022-08-11 15:28:57 -05:00
Alex Gleason 6d1539cf9c
eslint: don't care about consistent-return in typescript 2022-08-01 22:42:48 -05:00
Alex Gleason 8a392c187f
Add eslint-plugin-compat 2022-07-21 12:19:36 -05:00
marcin mikołajczak 5fe442b684 ESLint: add no-duplicate-imports rule
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 22:21:18 +02:00
Alex Gleason b0b0d5a76e
eslint: enforce jsdoc comments on UI components 2022-05-11 21:08:04 -05:00
Alex Gleason b64be353cc
eslint: indent switch statements 2022-05-11 16:06:35 -05:00
Alex Gleason ae01b845de
eslint: enforce spacing of imports (and infix ops) 2022-05-11 12:40:34 -05:00
Justin 924b042c84 Improve reporting modal 2022-05-02 13:55:07 -04:00
Alex Gleason eecc46cbdc
Fix useEffect() calls... whoops 2022-04-21 17:52:48 -05:00
Alex Gleason fb351f8dfd
eslint: stop screaming about proptypes 2022-04-18 19:00:04 -05:00
Alex Gleason f316dac83e
eslint: scream if I try putting a JS comment in a JSX text node 2022-04-10 19:59:53 -05:00
Alex Gleason 734750a46a
eslint: disallow importing react-inlinesvg directly 2022-04-10 13:18:10 -05:00
Justin ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -04:00
Alex Gleason 5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason 0daa53c03c
Fix Typescript eslint 2022-03-18 13:16:59 -05:00
Alex Gleason 8c7a7fd7dc
eslint: fix typescript undefined globals 2022-03-09 13:26:40 -06:00
Alex Gleason 5c8e1c9277
eslint: don't enforce PropTypes in tsx files 2022-03-07 12:43:40 -06:00
Alex Gleason 36ca05c85b
Support adding custom locale files at build time 2022-03-03 16:12:25 -06:00
Alex Gleason 3a5c62cb70 Revert "Merge branch 'revert-f59d977a' into 'develop'"
This reverts merge request !1056
2022-02-27 00:13:35 +00:00
Alex Gleason 1f549ebe1a Revert "Merge branch 'typescript' into 'develop'"
This reverts merge request !859
2022-02-26 23:55:34 +00:00
Alex Gleason 134d92d83e
eslint: typescript 2022-02-19 01:46:57 -05:00
Alex Gleason 6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason 966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason 2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
marcin mikołajczak 4e04f06142 eslint: add key-spacing and space-unary-ops rules
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-24 18:28:35 +01:00
Alex Gleason 17b90a9b74
eslint: error on wrong indentation 2021-11-04 15:22:40 -05:00
Alex Gleason 59174b108f Merge branch 'eslint-brace-style-error' into 'develop'
eslint: brace-style error

See merge request soapbox-pub/soapbox-fe!662
2021-08-03 20:06:43 +00:00
Alex Gleason a14dfa1070
eslint: brace-style error 2021-08-03 14:41:27 -05:00
Alex Gleason 594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason 5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
Alex Gleason 0876c7a308
ESLint: react-hooks 2020-06-09 22:52:24 -05:00
Alex Gleason 6d6dbd9113
Test: Start creating component snapshots 2020-06-09 21:29:50 -05:00
Alex Gleason 6810f8d0b6
Tests: Start mocking API for action tests 2020-06-09 16:47:41 -05:00
Alex Gleason d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00
Alex Gleason ce19fc3cde
Enforce no mixed tabs and spaces 2020-04-18 14:04:18 -05:00
Alex Gleason 8a19b89c16
Enforce spacing of function parameters in eslint 2020-04-14 16:47:35 -05:00
Alex Gleason 141b0e6bfa
Fix most linter errors 2020-04-14 15:45:38 -05:00
Alex Gleason 3a6f825a81
Copy in Mastodon's Yarn scripts and linter configs 2020-04-14 12:30:26 -05:00