15 lines
242 B
JavaScript
15 lines
242 B
JavaScript
|
"use strict";
|
||
|
|
||
|
class ESLintError extends Error {
|
||
|
/**
|
||
|
* @param {string=} messages
|
||
|
*/
|
||
|
constructor(messages) {
|
||
|
super(`[eslint] ${messages}`);
|
||
|
this.name = 'ESLintError';
|
||
|
this.stack = '';
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = ESLintError;
|