Commit Graph

122 Commits

Author SHA1 Message Date
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
Bill Thornton
4aa203c0c6 Add basic react support 2021-06-09 09:27:10 -04:00
grafixeyehero
78ff8abf25 add Loading globally 2021-05-22 14:38:20 +03:00
Bill Thornton
be9f964c18 Remove useless escape characters 2021-03-23 11:28:20 -04:00
Bill Thornton
3b3884b1a1 Remove no-redeclare as warning 2021-03-23 11:28:20 -04:00
Bill Thornton
f60b7686d0 Remove unused variables 2021-03-23 11:28:16 -04:00
Bill Thornton
14dc03ab7d Add lint rule for array callback returns 2020-12-14 16:30:45 -05:00
Bill Thornton
f649592c3d Make disabled rules trigger warnings 2020-12-01 10:09:39 -05:00
Bill Thornton
9ab30488be Reenable no unresolved import rule and fix playlist imports 2020-11-30 00:47:54 -05:00
vitorsemeano
67adeef131 removed any reference to requirejs 2020-11-09 22:28:23 +00:00
vitorsemeano
2a238d79f9 removed pageClassOn and pageIdOn from eslintrc 2020-11-09 00:15:55 +00:00
vitorsemeano
5071aedcea extracted connectionManager from site.js
new module ServerConnections for ConnectionManager
all code adapted to this new module
removed Events and ConnectionManager from eslintrc
2020-11-05 23:12:23 +00:00
vitorsemeano
923d53bb71 remove most of Dashboard global window usage 2020-11-05 23:11:47 +00:00
vitorsemeano
4e88835382 extract AppInfo into a export const 2020-11-05 23:11:47 +00:00
MrTimscampi
7d9208e951 WIP 2020-11-05 23:09:09 +00:00
dkanada
237e8ddc4c manual changes for no-var eslint rule 2020-10-08 00:47:23 +09:00
dkanada
eec822ef34 enable prefer-const rule for eslint 2020-09-12 05:44:06 +09:00
MrTimscampi
73c7dfa0dd Remove implicit ConnectionManager global from ESLint config 2020-08-30 06:24:40 +02:00
dkanada
6159eca8f8 prevent the use of confusing globals 2020-08-25 10:12:35 +09:00
MrTimscampi
645668454a Merge remote-tracking branch 'upstream/master' into pluginmanager-es6 2020-08-12 15:33:11 +02:00
MrTimscampi
0dba3bbb72 Keep prefer-const disabled for now 2020-08-08 21:13:20 +02:00
MrTimscampi
4cd83e6f73 Fix linting errors 2020-08-06 21:32:08 +02:00
MrTimscampi
9640f13830 Prefer const over let when possible 2020-08-06 19:29:13 +02:00
MrTimscampi
c159d4f601 Update ESLint to 7.6.0 2020-08-01 13:50:37 +02:00
dkanada
28b37a73b0
Merge pull request #1706 from MrTimscampi/new-babel-eslint
Migrate to new babel-eslint package
2020-07-31 22:10:57 +09:00
MrTimscampi
642e2624e5 Add no-yoda rule to ESLint config 2020-07-31 12:36:54 +02:00
MrTimscampi
7056e829e2 Migrate to new babel-eslint package 2020-07-31 10:01:51 +02:00
MrTimscampi
5e1b6acffe Disallow block padding 2020-07-27 08:06:46 +02:00
MrTimscampi
dfbb7dfc16 Remove dead code 2020-07-26 12:30:50 +02:00
MrTimscampi
fd2d2a6386 Fix issue in eslintrc 2020-06-28 09:38:06 +02:00
Cromefire_
d36a8994fb
Fixed review comments 2020-06-06 11:25:53 +02:00
MrTimscampi
e2ae0d1e2b Fix linting errors 2020-05-30 23:15:06 +02:00
MrTimscampi
3312aa09e8 Use babel-parser and add class property support 2020-05-28 23:27:37 +02:00
MrTimscampi
f897f7484c Force spacing around operators 2020-05-17 18:19:18 +02:00
MrTimscampi
ee46863a5f Fix suggestions 2020-05-07 17:21:26 +02:00
MrTimscampi
ca4d60c648 Disable ESLint compat plugin while detection buggy 2020-05-07 16:50:43 +02:00
MrTimscampi
9e3ca706c4 Force the use of single quotes 2020-05-04 12:44:12 +02:00
MrTimscampi
bbd1a4aa28 Add Autoprefixer
Apprently it got the axe when moving to Gulp. Oops.
2020-04-25 14:47:20 +02:00
MrTimscampi
5f04c783e5 Convert ESLint config to JavaScript 2020-04-25 14:06:56 +02:00