mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-03-03 04:54:27 +00:00
chore: tweaks and cleanup
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
// noinspection NpmUsedModulesInstalled
|
||||
const process = require('process')
|
||||
const configurationPaths = require('./configuration-paths')
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ const path = require('path')
|
||||
* @param {string} moduleName - The name of the module to check for.
|
||||
* @returns {string[]} - The paths to the configuration files.
|
||||
*/
|
||||
function configurationPaths(moduleName) {
|
||||
const configurationPaths = moduleName => {
|
||||
const filesPlain = [
|
||||
moduleName,
|
||||
`${moduleName}rc`,
|
||||
|
||||
Reference in New Issue
Block a user