Lyubo Marinov
45a5f64326
Prepare for webpack 2
Webpack 2 defines module.exports as a read-only property in ES6 modules.
8 年之前
Lyubo Marinov
089ee76c04
Prepare for webpack 2
Webpack 2 defines module.exports as a read-only property in ES6 modules.
8 年之前
Lyubo Marinov
de61af8b2d
[eslint] require-jsdoc
8 年之前
hristoterezov
432185066a
fix(eslint): Add no-invalid-this rule
8 年之前
hristoterezov
f647f03e5d
fix(eslint): Add max-depth rule
8 年之前
Lyubo Marinov
146148483e
[eslint] no-shadow
8 年之前
Lyubo Marinov
c88c4f9124
[eslint] camelcase
8 年之前
hristoterezov
e5472b9aca
fix(eslint): Add eqeqeq rule
8 年之前
Lyubo Marinov
8fbc815836
[eslint] no-param-reassign
8 年之前
hristoterezov
774ee4b2b0
fix(eslint): Add no-loop-func rule
8 年之前
Lyubo Marinov
308adc133a
[eslint] max-len
8 年之前
Lyubo Marinov
068f290835
[eslint] lines-around-comment
8 年之前
Lyubo Marinov
9a8b5563c6
[eslint] object-property-newline
8 年之前
Lyubo Marinov
840c5b3cdf
[eslint] computed-property-spacing, key-spacing, keyword-spacing, object-curly-spacing
8 年之前
Lyubo Marinov
69e82e9fa6
[eslint] no-useless-concat, no-useless-escape
8 年之前
Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
8 年之前
Lyubo Marinov
110fe997b6
[eslint] no-continue
8 年之前
Lyubo Marinov
0da7f6b98f
[eslint] no-negated-condition
8 年之前
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
8 年之前
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
8 年之前
hristoterezov
6095a3a95d
fix(eslint): Add no-eq-null rule
8 年之前
Lyubo Marinov
5bff0ed543
[eslint] no-var
8 年之前
Lyubo Marinov
4293971466
[eslint] operator-linebreak
8 年之前
Lyubo Marinov
ed0d464392
[eslint] quotes
8 年之前
Lyubo Marinov
b5b0e95b4e
[eslint] sort-vars
8 年之前
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
8 年之前
Lyubo Marinov
324afc0caf
[eslint] space-infix-ops
8 年之前
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
8 年之前
hristoterezov
3e44723582
fix(eslint): Add indent rule
8 年之前
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
8 年之前
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
8 年之前
Lyubo Marinov
596767d57e
[eslint] object-shorthand
8 年之前
hristoterezov
fceb8606d8
fix(eslint): Add no-extra-parens rule
8 年之前
paweldomas
3b59cdb080
ref(RTC): cleanup local track access
8 年之前
paweldomas
682e0abaf8
fix(sdp): remove 'ssltcp' candidates when 'webrtcIceTcpDisable' = true
8 年之前
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.
8 年之前
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.
8 年之前
hristoterezov
9781a0d63c
ref(module/xmpp): ES6 for modules/xmpp/xmpp.js and it's related files
8 年之前
paweldomas
f6d730794e
Deal with the WebRTC streams on per track basis
9 年之前
Lyubomir Marinov
1e17367d5b
Initializes fields with primitive values through the prototype. (The Internet says that's faster so it MUST be true.)
9 年之前
Lyubomir Marinov
230196572c
Simplifies source code.
9 年之前
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 年之前
Lyubomir Marinov
4dd7ae6bfa
Improves the readability of the source code. (Suggested by Iván Loire.)
9 年之前
Lyubomir Marinov
7287bc2829
Deduplicates string searches using SDPUtil.find_line/s.
9 年之前
hristoterezov
37e73e7ec5
Fixes minor Firefox issues. Adds methods for the desktop sharing.
9 年之前
paweldomas
4dc5021ab0
Makes sure that we keep local video SSRC as a "recvonly" when muted.
9 年之前
paweldomas
dd54228913
Removes unused code used to inject local SSRCs.
(cherry picked from commit 286225e81e )
# Conflicts:
# modules/xmpp/SDP.js
9 年之前
George Politis
6d07dda5de
Fixes issue in ssrc-group SDP parsing.
How did this even work before?
9 年之前
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).
9 年之前
Boris Grozev
03b5952973
Fix comparison warnings.
9 年之前