npm-package-json-lint
Version:
Configurable linter for package.json files.
10 lines (9 loc) • 400 B
TypeScript
/**
* Loads a configuration file from the given file path.
*
* @param {Object} npmPackageJsonLintConfig Parsed config from cosmicconfig
* @param {string} filepath the path to the config file
* @returns {Object} the parsed config object (empty object if there was a parse error)
* @private
*/
export declare const applyExtendsIfSpecified: (npmPackageJsonLintConfig: any, filepath: any) => any;