chore: tweaks and cleanup

This commit is contained in:
Ismo Vuorinen
2024-08-21 17:23:59 +03:00
parent cc63a2d1d7
commit ce9de621f6
14 changed files with 192 additions and 202 deletions

View File

@@ -2,6 +2,7 @@
const fs = require('fs')
const path = require('path')
// noinspection NpmUsedModulesInstalled
const process = require('process')
const configurationPaths = require('./configuration-paths')

View File

@@ -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`,