mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-05-04 10:33:48 +01:00
eslint bump + CS tweaks
This commit is contained in:
parent
73d167872f
commit
f1872b3459
4 changed files with 5 additions and 3 deletions
|
@ -30,7 +30,7 @@ rules:
|
||||||
func-style: [ 2, declaration ]
|
func-style: [ 2, declaration ]
|
||||||
guard-for-in: 2
|
guard-for-in: 2
|
||||||
handle-callback-err: 2
|
handle-callback-err: 2
|
||||||
indent: [ 2, 2, { VariableDeclarator: { var: 2, let: 2, const: 3 }, SwitchCase: 1 } ]
|
indent: [ 2, 2, { VariableDeclarator: { var: 2, let: 2, const: 3 }, SwitchCase: 1, ignoreComments: true, MemberExpression: off, ignoredNodes: ["ConditionalExpression"] } ]
|
||||||
# key-spacing: [ 2, { "align": "value" } ]
|
# key-spacing: [ 2, { "align": "value" } ]
|
||||||
keyword-spacing: 2
|
keyword-spacing: 2
|
||||||
linebreak-style: 2
|
linebreak-style: 2
|
||||||
|
|
|
@ -1454,7 +1454,7 @@ function deflate(strm, flush) {
|
||||||
(!s.gzhead.extra ? 0 : 4) +
|
(!s.gzhead.extra ? 0 : 4) +
|
||||||
(!s.gzhead.name ? 0 : 8) +
|
(!s.gzhead.name ? 0 : 8) +
|
||||||
(!s.gzhead.comment ? 0 : 16)
|
(!s.gzhead.comment ? 0 : 16)
|
||||||
);
|
);
|
||||||
put_byte(s, s.gzhead.time & 0xff);
|
put_byte(s, s.gzhead.time & 0xff);
|
||||||
put_byte(s, (s.gzhead.time >> 8) & 0xff);
|
put_byte(s, (s.gzhead.time >> 8) & 0xff);
|
||||||
put_byte(s, (s.gzhead.time >> 16) & 0xff);
|
put_byte(s, (s.gzhead.time >> 16) & 0xff);
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
// misrepresented as being the original software.
|
// misrepresented as being the original software.
|
||||||
// 3. This notice may not be removed or altered from any source distribution.
|
// 3. This notice may not be removed or altered from any source distribution.
|
||||||
|
|
||||||
|
/* eslint-disable space-unary-ops */
|
||||||
|
|
||||||
var utils = require('../utils/common');
|
var utils = require('../utils/common');
|
||||||
|
|
||||||
/* Public constants ==========================================================*/
|
/* Public constants ==========================================================*/
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
"benchmark": "^2.1.4",
|
"benchmark": "^2.1.4",
|
||||||
"bluebird": "^3.5.0",
|
"bluebird": "^3.5.0",
|
||||||
"browserify": "^14.4.0",
|
"browserify": "^14.4.0",
|
||||||
"eslint": "^3.12.2",
|
"eslint": "^5.9.0",
|
||||||
"istanbul": "^0.4.5",
|
"istanbul": "^0.4.5",
|
||||||
"mocha": "^3.2.0",
|
"mocha": "^3.2.0",
|
||||||
"multiparty": "^4.1.3",
|
"multiparty": "^4.1.3",
|
||||||
|
|
Loading…
Add table
Reference in a new issue