diff --git a/lib/rules/max-tags-file.js b/lib/rules/max-tags-file.js index a45f94c..e1e2a6a 100644 --- a/lib/rules/max-tags-file.js +++ b/lib/rules/max-tags-file.js @@ -18,8 +18,8 @@ const DEFAULT_MAX_TAGS = 4; let maxTags = DEFAULT_MAX_TAGS; /** - * * @param {import("eslint").Rule.RuleContext} context + * @return {import("eslint").Rule.RuleListener} */ function create(context) { const code = context.getSourceCode(); @@ -59,23 +59,22 @@ function create(context) { //---------------------------------------------------------------------- return { - message: `Occured` // give me methods - }; } -module.exports = { - create, - meta: { - docs: { - description: "Limit TODO/FIXME tags amount in file", - category: "Fill me in", - recommended: false - }, - fixable: null, // or "code" or "whitespace" - schema: [ - // fill in your schema - ] +/** + * @type {import("eslint").Rule.RuleMetaData} + */ +const meta = { + docs: { + description: "Limit TODO/FIXME tags amount in file", + recommended: true, }, + fixable: null, // or "code" or "whitespace" + schema: [ + // fill in your schema + ] }; + +module.exports = { create, meta };