Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
8 anos atrás
Lyubo Marinov
110fe997b6
[eslint] no-continue
8 anos atrás
Lyubo Marinov
0da7f6b98f
[eslint] no-negated-condition
8 anos atrás
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
8 anos atrás
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
8 anos atrás
hristoterezov
6095a3a95d
fix(eslint): Add no-eq-null rule
8 anos atrás
Lyubo Marinov
5bff0ed543
[eslint] no-var
8 anos atrás
Lyubo Marinov
4293971466
[eslint] operator-linebreak
8 anos atrás
Lyubo Marinov
ed0d464392
[eslint] quotes
8 anos atrás
Lyubo Marinov
b5b0e95b4e
[eslint] sort-vars
8 anos atrás
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
8 anos atrás
Lyubo Marinov
324afc0caf
[eslint] space-infix-ops
8 anos atrás
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
8 anos atrás
hristoterezov
3e44723582
fix(eslint): Add indent rule
8 anos atrás
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
8 anos atrás
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
8 anos atrás
Lyubo Marinov
596767d57e
[eslint] object-shorthand
8 anos atrás
hristoterezov
fceb8606d8
fix(eslint): Add no-extra-parens rule
8 anos atrás
paweldomas
3b59cdb080
ref(RTC): cleanup local track access
9 anos atrás
paweldomas
682e0abaf8
fix(sdp): remove 'ssltcp' candidates when 'webrtcIceTcpDisable' = true
9 anos atrás
paweldomas
937dc622c0
feat(Jingle): add 'failICE' config option
The flag when set to 'true' will enforce ICE failure. It is supposed to
be used in automatic testing.
9 anos atrás
Lyubomir Marinov
90ee7e8a54
ESLint
Our JSHint configuration is not extensive and we have excluded multiple
files from linting. Additionally, we have seen JSHint to be unable to
parse newer ECMAScript features such as the object spread operator
(proposal).
On the other hand, we have seen ESLint to beautifully work on React and
React Native source code in addition to ES2015 and later. Introduce
ESLint alongside JSHint as an intermediate step to eventually switching
from JSHint to ESLint.
As our source code does not fully follow even the JSHint rules we have,
it is very difficult to introduce ESLint with many rules. At the
beginning, introduce it with as little rules as possible. Morever,
ESLint is able to automatically fix certain rule offenders so once we
have ESLint merged we can incrementally add new rules while keeping our
commits' modification on as little subjects as possible.
9 anos atrás
hristoterezov
9781a0d63c
ref(module/xmpp): ES6 for modules/xmpp/xmpp.js and it's related files
9 anos atrás
paweldomas
f6d730794e
Deal with the WebRTC streams on per track basis
9 anos atrás
Lyubomir Marinov
1e17367d5b
Initializes fields with primitive values through the prototype. (The Internet says that's faster so it MUST be true.)
9 anos atrás
Lyubomir Marinov
230196572c
Simplifies source code.
9 anos atrás
Lyubomir Marinov
e97859f23d
Complies with the convention in most of the source code in the file and puts opening braces at the end of the interval after a space character.
9 anos atrás
Lyubomir Marinov
4dd7ae6bfa
Improves the readability of the source code. (Suggested by Iván Loire.)
9 anos atrás
Lyubomir Marinov
7287bc2829
Deduplicates string searches using SDPUtil.find_line/s.
9 anos atrás
hristoterezov
37e73e7ec5
Fixes minor Firefox issues. Adds methods for the desktop sharing.
10 anos atrás
paweldomas
4dc5021ab0
Makes sure that we keep local video SSRC as a "recvonly" when muted.
10 anos atrás
paweldomas
dd54228913
Removes unused code used to inject local SSRCs.
(cherry picked from commit 286225e81e )
# Conflicts:
# modules/xmpp/SDP.js
10 anos atrás
George Politis
6d07dda5de
Fixes issue in ssrc-group SDP parsing.
How did this even work before?
10 anos atrás
Boris Grozev
09640e23ba
Adds config options to filter out TCP or UDP candidates (for the purpose
of forcing one or the other in automated tests).
10 anos atrás
Boris Grozev
03b5952973
Fix comparison warnings.
10 anos atrás
hristoterezov
e1cc5e5aac
Changes the logger from console to jitsi-meet-logger
10 anos atrás
Boris Grozev
72d4ecb607
initial commit
10 anos atrás