Renaud Chaput
85b3823e66
Enforce stricter rules for Typescript files ( #24910 )
2 years ago
Renaud Chaput
b785500809
Enforce React Rules of Hooks with eslint ( #24911 )
2 years ago
Renaud Chaput
45146e3f3b
Dont use CommonJS (`require`, `module.exports`) anywhere ( #24913 )
2 years ago
Nick Schonning
0224c3c0d9
Add eslint-plugin-jsdoc ( #24719 )
2 years ago
Nick Schonning
86d0a0b7d8
Enable formatjs/prefer-pound-in-plural ( #24622 )
2 years ago
Nick Schonning
8e8185b618
Add eslint-plugin-formatjs ( #23976 )
2 years ago
fusagiko / takayamaki
f14395c2cf
Allow `==` when null checking ( #24593 )
2 years ago
Nick Schonning
d0bf149232
Move ESLint configs to overrides ( #24370 )
2 years ago
fusagiko / takayamaki
4866812b28
[Proposal] Make able to write React in Typescript ( #16210 )
...
Co-authored-by: berlysia <berlysia@gmail.com>
Co-authored-by: fusagiko / takayamaki <takayamaki@users.noreply.github.com>
2 years ago
Yamagishi Kazutoshi
e272fc91e4
Remove legacy decorators syntax ( #18357 )
2 years ago
Renaud Chaput
ae3812d182
Rename JSX files with proper `.jsx` extension ( #23733 )
2 years ago
Nick Schonning
a80ff32d9a
Enable ESLint Promise plugin defaults ( #22229 )
2 years ago
Nick Schonning
2663b421be
Enable ESLint import recommended rules ( #23315 )
2 years ago
Nick Schonning
1c2ca9557f
Enable ESLint no-useless-escape ( #23311 )
2 years ago
Nick Schonning
15e32432b0
Enable ESLint jsx-a11y/recommended ruleset ( #23309 )
2 years ago
Nick Schonning
4daa6799bb
Ignore ESLint nested ternary ( #23310 )
2 years ago
Nick Schonning
6c2f7e2667
Enable ESLint react/recommended ruleset ( #22460 )
2 years ago
Nick Schonning
ffcd50da2b
Update hasOwnProperty calls for ESLint ( #23307 )
2 years ago
Nick Schonning
507f2b4c1e
Enable eslint:recommended ruleset ( #22433 )
...
* Enable ESLint recommended ruleset
* Disable failing ESLint recommended rules
* Remove rules shadowed by eslint:recommended
2 years ago
Yamagishi Kazutoshi
848648e058
Replace from Code Climate to Super-Linter ( #18587 )
2 years ago
CommanderRoot
07f1888854
Replace deprecated String.prototype.substr() ( #17949 )
...
* 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>
3 years ago
abcang
987aa29930
Enable promise/catch-or-return allowFinally ( #14289 )
4 years ago
Eugen Rochko
77dc5cc132
Refactor icons in web UI to use Icon component ( #9951 )
...
* 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
6 years ago
Yamagishi Kazutoshi
566540ec71
Increase files checked by ESLint ( #9705 )
6 years ago