Commit Graph

99 Commits

Author SHA1 Message Date
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