mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-03-08 01:56:53 +00:00
chore(lint): lint all and remove extra files
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
const configurationPaths = require('../lib/configuration-paths')
|
||||
|
||||
const configItems = configurationPaths('[module name]')
|
||||
const longestLine = configItems.reduce((a, b) =>
|
||||
a.length > b.length ? a : b
|
||||
).length
|
||||
const longestLine = configItems.reduce((a, b) => (a.length > b.length ? a : b)).length
|
||||
|
||||
const mdTable = configItems.map(file => {
|
||||
const diff = longestLine - file.length
|
||||
|
||||
Reference in New Issue
Block a user