Commit Graph

40 Commits (0b853678a45df06f5b9453217a9bf72f23ee322d)

Author SHA1 Message Date
Renaud Chaput a0e237a96f
Upgrade Redux packages ()
Matt Jankowski ee83d5c760
Enable the eslint `react/no-unknown-property` rule ()
Josh Goldberg ✨ 3a7f10c3f1
Converted hashtag.jsx to TypeScript ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Emelia Smith 4949b6da58
Fix streaming eslint configuration ()
Renaud Chaput 1b70d7ed7c
Upgrade to react-router v5 ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Renaud Chaput 774e1189d2
Change `eslint` config to autofix missing comma and indentation in JS files ()
Renaud Chaput a7253075d1
Upgrade to `typescript-eslint` v6 ()
Jed Fox 768b00c4d0
Consistently use middle dot (·) instead of bullet (•) to separate items ()
Renaud Chaput 44cd88adc4
Upgrade react-intl ()
dependabot[bot] 89d6341c80
Bump eslint-plugin-jsdoc from 44.2.5 to 45.0.0 ()
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Renaud Chaput d27216dc46
Enforce import order with ESLint ()
Renaud Chaput 5a16bd7bf4
Use JSX syntax for Fragments ()
Renaud Chaput 8f66126b10
Use the new JSX transform ()
Renaud Chaput 5eeb40bdbe
Add stricter ESLint rules for Typescript files ()
Nick Schonning b878e3d8df
Enable ESLint react/no-deprecated ()
Nick Schonning 51b83ed195
Use Prettier for ESLint formatting TypeScript ()
Renaud Chaput c8181eb0a4
Enforce stricter rules for Typescript files ()
Renaud Chaput d9b93bd15e
Enforce React Rules of Hooks with eslint ()
Renaud Chaput 955179fc55
Dont use CommonJS (`require`, `module.exports`) anywhere ()
Nick Schonning f22b4e556c
Add eslint-plugin-jsdoc ()
Nick Schonning 2daa5a1549
Enable formatjs/prefer-pound-in-plural ()
Nick Schonning 0c7ce98ff6
Add eslint-plugin-formatjs ()
fusagiko / takayamaki c1a7e38d2b
Allow `==` when null checking ()
Nick Schonning 373e4a8ff0
Move ESLint configs to overrides ()
fusagiko / takayamaki 4520e6473a
[Proposal] Make able to write React in Typescript ()
Co-authored-by: berlysia <berlysia@gmail.com>
Co-authored-by: fusagiko / takayamaki <takayamaki@users.noreply.github.com>
Yamagishi Kazutoshi d1b057a0ac
Remove legacy decorators syntax ()
Renaud Chaput 44a7d87cb1
Rename JSX files with proper `.jsx` extension ()
Nick Schonning 5e1c0c3d94
Enable ESLint Promise plugin defaults ()
Nick Schonning eddfb33dfe
Enable ESLint import recommended rules ()
Nick Schonning db2c58d47a
Enable ESLint no-useless-escape ()
Nick Schonning 96d26a9417
Enable ESLint jsx-a11y/recommended ruleset ()
Nick Schonning 1032d45644
Ignore ESLint nested ternary ()
Nick Schonning cbf5ea39d0
Enable ESLint react/recommended ruleset ()
Nick Schonning 131e6403cc
Update hasOwnProperty calls for ESLint ()
Nick Schonning 06b68490d1
Enable eslint:recommended ruleset ()
* Enable ESLint recommended ruleset

* Disable failing ESLint recommended rules

* Remove rules shadowed by eslint:recommended
Yamagishi Kazutoshi 84266f87e7
Replace from Code Climate to Super-Linter ()
CommanderRoot 0ec695e036
Replace deprecated String.prototype.substr() ()
* Replace deprecated String.prototype.substr()

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

* Change String.prototype.substring() to String.prototype.slice()

.substring() and .slice() work very similary but .slice() is a bit faster and stricter

* Add ESLint rule to forbid usage of .substr and .substring

.substr() is deprecated and .substring() is very similar to .slice() so better to use .slice() at all times

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
abcang bb9d4e2776
Enable promise/catch-or-return allowFinally ()
Eugen Rochko 1f95190202
Refactor icons in web UI to use Icon component ()
* Refactor uses of icons to an Icon component in web UI

* Refactor options passed to the Icon component

* Make tests work with absolute component paths
Yamagishi Kazutoshi d5bdfaf0bb Increase files checked by ESLint ()