From e80dee379977f598052381755bc0088f00566246 Mon Sep 17 00:00:00 2001 From: Fabio Beltramini Date: Sun, 4 Aug 2024 03:28:07 -0400 Subject: [PATCH] lint --- __tests__/manifest-merge-mutate.test.js | 10 ---------- cli.js | 2 +- index.js | 7 +++---- 3 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 __tests__/manifest-merge-mutate.test.js diff --git a/__tests__/manifest-merge-mutate.test.js b/__tests__/manifest-merge-mutate.test.js deleted file mode 100644 index 66567dd..0000000 --- a/__tests__/manifest-merge-mutate.test.js +++ /dev/null @@ -1,10 +0,0 @@ -const manifestMergeMutate = require('../lib/loaders/manifest/manifest-merge-mutate.js') - - -describe('Loader', () => { - describe('Manifest Merge', () => { - it('...', () => { - - }); - }); -}); diff --git a/cli.js b/cli.js index 4f033fb..89d2055 100755 --- a/cli.js +++ b/cli.js @@ -19,7 +19,7 @@ const cliArgs = fromEntries( // ponyfill for Object.fromEntries ), ) // Convert kebab-case and snake_case to camelCase - .map(([k, v])=>[k.replace(/[-_][a-zA-Z-0-9]/g, (s)=>s.slice(1).toUpperCase()), v]) + .map(([k, v])=>[k.replace(/[-_][a-zA-Z-0-9]/g, (s)=>s.slice(1).toUpperCase()), v]), ); !async function() { diff --git a/index.js b/index.js index 1892161..94d1ac5 100755 --- a/index.js +++ b/index.js @@ -103,18 +103,17 @@ module.exports = async function( } console.log('> Parsing done!'); - + /* Loading project manifest settings */ { console.log('Getting manifest and rule info...'); const loadManifest = require('./lib/loaders/manifest/manifest.js'); const loadManifestResult = await loadManifest(project, { cwd, manifestDefaults: options.manifestDefaults, - manifestOverrides: options.manifest - },{process}); + manifestOverrides: options.manifest, + }, {process}); project.manifest = loadManifestResult.manifest; messages = messages.concat(loadManifestResult.messages); - } /* Loading central exemptions */ {