Enforce comma spacing

This commit is contained in:
Pierre Ossman 2018-09-06 16:43:31 +02:00
parent 7b536961b2
commit 6786fd8719
7 changed files with 13 additions and 8 deletions

View File

@ -29,5 +29,6 @@
"ArrayExpression": "first", "ArrayExpression": "first",
"ObjectExpression": "first", "ObjectExpression": "first",
"ignoreComments": true }], "ignoreComments": true }],
"comma-spacing": ["error"],
} }
} }

View File

@ -43,6 +43,7 @@ export default {
}, },
/* Convert Base64 data to a string */ /* Convert Base64 data to a string */
/* eslint-disable comma-spacing */
toBinaryTable : [ toBinaryTable : [
-1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
-1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
@ -53,6 +54,7 @@ export default {
-1,26,27,28, 29,30,31,32, 33,34,35,36, 37,38,39,40, -1,26,27,28, 29,30,31,32, 33,34,35,36, 37,38,39,40,
41,42,43,44, 45,46,47,48, 49,50,51,-1, -1,-1,-1,-1 41,42,43,44, 45,46,47,48, 49,50,51,-1, -1,-1,-1,-1
], ],
/* eslint-enable comma-spacing */
decode(data, offset) { decode(data, offset) {
offset = typeof(offset) !== 'undefined' ? offset : 0; offset = typeof(offset) !== 'undefined' ? offset : 0;

View File

@ -75,6 +75,8 @@
* fine Java utilities: http://www.acme.com/java/ * fine Java utilities: http://www.acme.com/java/
*/ */
/* eslint-disable comma-spacing */
export default function DES(passwd) { export default function DES(passwd) {
"use strict"; "use strict";