Enforce object key spacing

This commit is contained in:
Pierre Ossman 2018-09-06 17:07:11 +02:00
parent 22d10c756a
commit 942a312779
8 changed files with 12 additions and 7 deletions

View File

@ -34,5 +34,6 @@
"func-call-spacing": ["error"], "func-call-spacing": ["error"],
"func-names": ["error"], "func-names": ["error"],
"func-style": ["error", "declaration", { "allowArrowFunctions": true }], "func-style": ["error", "declaration", { "allowArrowFunctions": true }],
"key-spacing": ["error"],
} }
} }

View File

@ -14,6 +14,8 @@
* See https://www.w3.org/TR/uievents-key/ for possible values. * See https://www.w3.org/TR/uievents-key/ for possible values.
*/ */
/* eslint-disable key-spacing */
export default { export default {
// 3.1.1.1. Writing System Keys // 3.1.1.1. Writing System Keys

View File

@ -1,3 +1,5 @@
/* eslint-disable key-spacing */
export default { export default {
XK_VoidSymbol: 0xffffff, /* Void symbol */ XK_VoidSymbol: 0xffffff, /* Void symbol */