Commit Graph

17 Commits (4909c2e7183f38caedd4445928033dc208762609)

Author SHA1 Message Date
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 ()