eslint-plugin-comment-length
Version:
An ESLint plugin that provides rules that limit the line length of your comments
35 lines (33 loc) • 778 B
JavaScript
const defaultOptions = [
{
mode: "overflow-only",
maxLength: 80,
ignoreUrls: true,
ignoreCommentsWithCode: false,
tabSize: 2,
logicalWrap: false,
semanticComments: []
}
];
const optionsSchema = [
{
type: "object",
properties: {
mode: {
type: "string",
enum: ["overflow-only", "compact-on-overflow", "compact"]
},
maxLength: { type: "integer" },
ignoreUrls: { type: "boolean" },
ignoreCommentsWithCode: { type: "boolean" },
tabSize: { type: "integer" },
logicalWrap: { type: "boolean" },
semanticComments: {
type: "array",
items: { type: "string" }
}
}
}
];
export { defaultOptions, optionsSchema };
//# sourceMappingURL=typings.options.js.map