Skip to content

Commit

Permalink
forgot to add the rule ^_^
Browse files Browse the repository at this point in the history
  • Loading branch information
cedeber committed Sep 7, 2024
1 parent 91fb8b7 commit 021aba8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions lib/index.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import fs from "fs";
import throwDocumentation from "./rules/throw-documentation.mjs";

const pkg = JSON.parse(
fs.readFileSync(new URL("./package.json", import.meta.url), "utf8")
Expand All @@ -14,11 +15,7 @@ const plugin = {
},
configs: {},
rules: {
"throw-documentation": {
create(context) {
// rule implementation ...
},
},
"throw-documentation": throwDocumentation,
},
processors: {},
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-throw",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "An ESLint plugin to enforce naming conventions and JSDoc annotations for functions that throw exceptions.",
"type": "module",
"main": "lib/index.mjs",
Expand Down

0 comments on commit 021aba8

Please sign in to comment.