Fix Print Width

This commit is contained in:
Samuel W 2020-05-09 00:12:57 +08:00
parent 4592baba95
commit 66ee71d4cf
3 changed files with 5 additions and 8 deletions

View File

@ -2,5 +2,6 @@
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
"singleQuote": true,
"printWidth": 120
}

View File

@ -4,8 +4,7 @@ module.exports = {
url: 'https://lumen.netlify.com',
pathPrefix: '/',
title: 'Blog by John Doe',
subtitle:
'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.',
subtitle: 'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.',
copyright: '© All rights reserved.',
disqusShortname: '',
postsPerPage: 4,
@ -28,8 +27,7 @@ module.exports = {
author: {
name: 'John Doe',
photo: '/photo.jpg',
bio:
'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.',
bio: 'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.',
contacts: {
email: '',
facebook: '#',

View File

@ -15,9 +15,7 @@ test('getContactHref', () => {
expect(getContactHref('gitlab', '#')).toBe('https://www.gitlab.com/#');
expect(getContactHref('weibo', '#')).toBe('https://www.weibo.com/#');
expect(getContactHref('codepen', '#')).toBe('https://www.codepen.io/#');
expect(getContactHref('youtube', '#')).toBe(
'https://www.youtube.com/channel/#'
);
expect(getContactHref('youtube', '#')).toBe('https://www.youtube.com/channel/#');
expect(getContactHref('soundcloud', '#')).toBe('https://soundcloud.com/#');
expect(getContactHref('medium', '#')).toBe('https://medium.com/#');
});