23 lines
429 B
JavaScript
23 lines
429 B
JavaScript
import * as ActionTypes from '../../../constants';
|
|
|
|
export function updateLintMessage(severity, line, message) {
|
|
return {
|
|
type: ActionTypes.UPDATE_LINT_MESSAGE,
|
|
severity,
|
|
line,
|
|
message
|
|
};
|
|
}
|
|
|
|
export function clearLintMessage() {
|
|
return {
|
|
type: ActionTypes.CLEAR_LINT_MESSAGE
|
|
};
|
|
}
|
|
|
|
export function updateLineNumber(lineNumber) {
|
|
return {
|
|
type: ActionTypes.UPDATE_LINENUMBER,
|
|
lineNumber
|
|
};
|
|
}
|