lint-staged
Version:
Lint files staged by git
26 lines (23 loc) • 827 B
JavaScript
const ApplyEmptyCommitError = Symbol('ApplyEmptyCommitError')
const ConfigNotFoundError = new Error('Config could not be found')
const GetStagedFilesError = Symbol('GetStagedFilesError')
const GitError = Symbol('GitError')
const GitRepoError = Symbol('GitRepoError')
const HideUnstagedChangesError = Symbol('HideUnstagedChangesError')
const InvalidOptionsError = new Error('Invalid Options')
const RestoreMergeStatusError = Symbol('RestoreMergeStatusError')
const RestoreUnstagedChangesError = Symbol('RestoreUnstagedChangesError')
const TaskError = Symbol('TaskError')
module.exports = {
ApplyEmptyCommitError,
ConfigNotFoundError,
GetStagedFilesError,
GitError,
GitRepoError,
InvalidOptionsError,
HideUnstagedChangesError,
RestoreMergeStatusError,
RestoreUnstagedChangesError,
TaskError,
}