UNPKG

eslint-plugin-de-morgan

Version:

ESLint plugin for transforming negated boolean expressions via De Morgan’s laws

5 lines (4 loc) 189 B
'use strict' Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }) let toSingleLine = string => string.replaceAll(/\s+/gu, ' ').trim() exports.toSingleLine = toSingleLine