Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-looker committed Aug 4, 2024
1 parent d1b8669 commit e80dee3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
10 changes: 0 additions & 10 deletions __tests__/manifest-merge-mutate.test.js

This file was deleted.

2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
7 changes: 3 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */ {
Expand Down

0 comments on commit e80dee3

Please sign in to comment.