UNPKG

eslint-plugin-perfectionist

Version:

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

10 lines (9 loc) 288 B
'use strict' Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }) class UnreachableCaseError extends Error { constructor(value) { super(`Unreachable case: ${value}`) this.name = 'UnreachableCaseError' } } exports.UnreachableCaseError = UnreachableCaseError