"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoPlaceholders = void 0;
const inspection_js_1 = require("../model/inspection.js");
class NoPlaceholders extends inspection_js_1.ActionInspection {
    *inspect(action) {
        if (action.type === 'placeholder') {
            yield {
                name: 'no-placeholder',
                level: inspection_js_1.InspectionLevel.Error,
                message: `Placeholders are not allowed`,
            };
        }
    }
}
exports.NoPlaceholders = NoPlaceholders;
//# sourceMappingURL=no-placeholder.js.map