Claire
1cd7f5ff17
Merge commit 'd27216dc4616d80659c0cc5d2a55394e0e1ae874' into glitch-soc/merge-upstream
...
Conflicts:
- `.eslintrc.js`:
Upstream moved a configuration block in which we had added a glitch-only
path.
Moved the configuration block as upstream did.
- other files:
Upstream reordered imports, and those files had different ones.
Kept our version and reordered imports using the same rules.
1 year ago
Claire
8278907ff7
Merge commit '5a16bd7bf4591feb852364da9b84407438c9b7d6' into glitch-soc/merge-upstream
1 year ago
Claire
9381f78166
Merge commit '8f66126b1010e0aaaa8b5f2a2f4ea8a28824e2b7' into glitch-soc/merge-upstream
1 year ago
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>
1 year ago
Renaud Chaput
d27216dc46
Enforce import order with ESLint ( #25096 )
2 years ago
Renaud Chaput
5a16bd7bf4
Use JSX syntax for Fragments ( #25093 )
2 years ago
Renaud Chaput
8f66126b10
Use the new JSX transform ( #25064 )
2 years ago
Renaud Chaput
5eeb40bdbe
Add stricter ESLint rules for Typescript files ( #24926 )
2 years ago
Nick Schonning
b878e3d8df
Enable ESLint react/no-deprecated ( #24471 )
2 years ago
Nick Schonning
51b83ed195
Use Prettier for ESLint formatting TypeScript ( #23631 )
2 years ago
Renaud Chaput
c8181eb0a4
Enforce stricter rules for Typescript files ( #24910 )
2 years ago
Renaud Chaput
d9b93bd15e
Enforce React Rules of Hooks with eslint ( #24911 )
2 years ago
Renaud Chaput
955179fc55
Dont use CommonJS (`require`, `module.exports`) anywhere ( #24913 )
2 years ago
Nick Schonning
f22b4e556c
Add eslint-plugin-jsdoc ( #24719 )
2 years ago
Nick Schonning
2daa5a1549
Enable formatjs/prefer-pound-in-plural ( #24622 )
2 years ago
Nick Schonning
0c7ce98ff6
Add eslint-plugin-formatjs ( #23976 )
2 years ago
fusagiko / takayamaki
c1a7e38d2b
Allow `==` when null checking ( #24593 )
2 years ago
Nick Schonning
373e4a8ff0
Move ESLint configs to overrides ( #24370 )
2 years ago
fusagiko / takayamaki
4520e6473a
[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
d1b057a0ac
Remove legacy decorators syntax ( #18357 )
2 years ago
Renaud Chaput
44a7d87cb1
Rename JSX files with proper `.jsx` extension ( #23733 )
2 years ago
Nick Schonning
5e1c0c3d94
Enable ESLint Promise plugin defaults ( #22229 )
2 years ago
Nick Schonning
eddfb33dfe
Enable ESLint import recommended rules ( #23315 )
2 years ago
Nick Schonning
db2c58d47a
Enable ESLint no-useless-escape ( #23311 )
2 years ago
Nick Schonning
96d26a9417
Enable ESLint jsx-a11y/recommended ruleset ( #23309 )
2 years ago
Nick Schonning
1032d45644
Ignore ESLint nested ternary ( #23310 )
2 years ago
Nick Schonning
cbf5ea39d0
Enable ESLint react/recommended ruleset ( #22460 )
2 years ago
Nick Schonning
131e6403cc
Update hasOwnProperty calls for ESLint ( #23307 )
2 years ago
Nick Schonning
06b68490d1
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
84266f87e7
Replace from Code Climate to Super-Linter ( #18587 )
2 years ago
CommanderRoot
0ec695e036
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
bb9d4e2776
Enable promise/catch-or-return allowFinally ( #14289 )
4 years ago
Eugen Rochko
1f95190202
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
d5bdfaf0bb
Increase files checked by ESLint ( #9705 )
6 years ago