Commit Graph

56 Commits

Author SHA1 Message Date
Ryan Hartzell
d895a4fc6a add eslint no-nested-ternary rule and fix violations 2022-04-27 16:06:24 -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