UNPKG

prettier-eslint-cli

Version:
13 lines (12 loc) 356 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function normalize(options) { return Object.entries(options).reduce((optionsAccumulator, [key, value]) => key.includes('-') ? optionsAccumulator : { ...optionsAccumulator, [key]: value }, {}); } var _default = exports.default = normalize;