1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Tools: Apply eslint rule "no-multi-spaces"

This commit is contained in:
Laurent Cozic 2021-01-23 15:51:19 +00:00
parent 0e2351e79e
commit 63559ac8b9
50 changed files with 95 additions and 92 deletions

View File

@ -125,6 +125,7 @@ module.exports = {
'space-before-blocks': 'error', 'space-before-blocks': 'error',
'spaced-comment': ['error', 'always'], 'spaced-comment': ['error', 'always'],
'keyword-spacing': ['error', { 'before': true, 'after': true }], 'keyword-spacing': ['error', { 'before': true, 'after': true }],
'no-multi-spaces': ['error'],
}, },
'plugins': [ 'plugins': [
'react', 'react',

View File

@ -1,3 +1,5 @@
/* eslint-disable no-multi-spaces */
// This is the keycode map for Electron. // This is the keycode map for Electron.
const keycodeToElectronMap = [ const keycodeToElectronMap = [