Commit Graph

88 Commits

Author SHA1 Message Date
Bill Thornton
968bfb52fb Remove dfnshelper global for eslint 2022-11-04 02:24:30 -04:00
Aimekram
6a93a2eb29 eslint: add no-shadow rule from @typescript 2022-10-16 16:04:23 +02:00
Bill Thornton
e0013915fd Enable eslint sonar prefer-object-literal 2022-10-12 14:44:10 -04:00
Bill Thornton
b426b6e2bf Fix sonarjs prefer-single-boolean-return 2022-10-11 03:11:41 -04:00
Bill Thornton
8a9cdbfca3
Merge pull request #4014 from thornbill/eslint-no-small-switch
Fix sonarjs no-small-switch
2022-10-11 03:03:37 -04:00
Bill Thornton
858aea92f9 Enable eslint array-callback-return foreach checking 2022-10-11 01:37:33 -04:00
Bill Thornton
a4bcc9689b Merge remote-tracking branch 'upstream/master' into eslint-no-small-switch 2022-10-11 00:46:33 -04:00
Bill Thornton
76ed503c81 Fix sonarjs no-small-switch 2022-10-08 03:18:30 -04:00
Bill Thornton
5e4eca6ae9 Fix sonarjs no-redundant-jump 2022-10-08 02:50:20 -04:00
Bill Thornton
4972f50a06 Fix sonarjs no-identical-functions 2022-10-05 15:31:15 -04:00
Bill Thornton
554cd1210c Fix sonarjs no-duplicated-branches 2022-10-05 12:58:48 -04:00
Bill Thornton
31c8060463 Add eslint warning for no-warning-comments 2022-10-04 16:06:59 -04:00
Bill Thornton
f572a231c9
Merge pull request #3989 from thornbill/eslint-no-useless-constructor 2022-10-04 14:50:34 -04:00
Bill Thornton
f4cd29ac17 Add no-return-assign eslint rule and fix issues 2022-10-04 14:24:24 -04:00
Bill Thornton
bef05ba117 Add no-useless-constructor eslint rule and fix issues 2022-10-04 13:32:55 -04:00
Bill Thornton
7d2850f6a3 Merge remote-tracking branch 'upstream/master' into fix-sonar-issues 2022-10-04 10:00:37 -04:00
Bill Thornton
1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
Bill Thornton
4669939eeb Fix sonarjs no-unused-collection 2022-10-03 10:17:38 -04:00
Bill Thornton
bdc97c45b8 Fix sonarjs no-nested-switch 2022-10-03 10:12:13 -04:00
Bill Thornton
272a74e7aa Fix sonarjs no-gratuitous-expressions 2022-10-03 10:04:40 -04:00
Bill Thornton
857973ec45 Fix sonarjs max-switch-cases 2022-10-03 09:50:00 -04:00
Bill Thornton
52e92d44af Add sonarjs eslint plugin 2022-09-30 17:57:47 -04:00
Bill Thornton
23eede4d2f Only allow jsx in jsx/tsx files 2022-09-29 13:11:56 -04:00
Cody Robibero
74ca9eb81a
Merge pull request #3798 from Stromwerk/no-throw-literal 2022-08-13 08:00:45 -06:00
Stromwerk
ceebed3709 Add no-throw-literal rule to eslintrc 2022-08-11 21:43:36 +03:00
Kalin K
27d1b79f87
Add 'no-return-await' rule to eslint 2022-08-09 14:51:43 +03:00
grafixeyehero
ac62a5e8bf use import for ItemsByName & PlaylistViewer 2022-06-14 10:55:26 -04:00
San
5b59f9ca21
add no-sequences rule
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2022-05-31 03:47:34 -07:00
San
a2fe92f192
Merge branch 'master' into eslint-no-sequences 2022-05-20 01:40:57 -07:00
sancodes
e857952ae0 remove no-declare lint 2022-05-20 01:36:39 -07:00
sancodes
ed8b274dbf remove trailing space 2022-04-30 13:04:28 -07:00
Ryan Hartzell
d895a4fc6a add eslint no-nested-ternary rule and fix violations 2022-04-27 16:06:24 -07:00
sancodes
92abace743 add no-redeclare 2022-04-21 10:40:17 -07:00
Bill Thornton
ba5fbf831e Add linting for config files and scripts 2022-04-13 11:02:20 -04:00
Bill Thornton
c3b8c4e7db Fix styling in eslintrc.js 2022-04-13 10:33:06 -04:00
Bill Thornton
13a70d3186
Merge pull request #3509 from sancodes/eslint-novoid
add eslint novoid
2022-04-13 00:44:30 -04:00
Bill Thornton
67169e2a6a Remove getParameterByName global 2022-04-05 15:58:12 -04:00
Bill Thornton
8e66ba315a Remove getWindowLocationSearch global and duplicate implementation 2022-04-05 15:44:55 -04:00
Bill Thornton
f286641328 Add no-duplicate-imports rule and fix issue 2022-04-01 00:46:55 -04:00
sancodes
87f47d8001 add no-void lint 2022-03-21 20:49:47 -07:00
Bill Thornton
f4754422e6 Add default-case-last rule and fix issues 2022-03-10 11:46:58 -05:00
Bill Thornton
8fefc22669 Add eslint rule for empty functions 2022-03-01 10:31:42 -05:00
Bill Thornton
2c3381ee5a Fix eslint polyfills for typescript files 2022-01-11 10:03:06 -05:00
grafixeyehero
d6c00aa6f4 update suggestion change 2021-09-08 02:46:43 +03:00
grafixeyehero
8e724d3119 Merge branch 'master' of https://github.com/jellyfin/jellyfin-web into fix-accese
# Conflicts:
#	src/scripts/site.js
2021-09-08 02:38:25 +03:00
MrTimscampi
4d23e79f65 Add TypeScript support for React components 2021-06-18 17:01:00 +02:00
grafixeyehero
4062544e50 add events globally 2021-06-14 03:16:44 +03:00
grafixeyehero
b7c6a8aa18 add itemIdentifier on clientutils and TaskButton globally 2021-06-11 23:59:57 +03:00
grafixeyehero
005ed2876d access ServerNotifications globally 2021-06-11 20:16:11 +03:00
Bill Thornton
c7296753af Add recommended eslint rules for react 2021-06-09 09:27:10 -04:00