Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,7 @@
/* Completeness */
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
}
},
"include": ["src/**/*.js", "tests/**/*.js"],
"exclude": ["src/**/*.test.js", "node_modules", "dist", "examples"]
}
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,22 @@
"scripts": {
"test": "node --require ./test-setup.js --test",
"build": "npx tsc --project tsconfig-prod.json",
"prepublish": "npx tsc --project tsconfig-prod.json"
"lint": "npx eslint src",
"prepublish": "pnpm run lint && pnpm run build"
},
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin",
"try-catch",
"jsdoc",
"typescript",
"typescript-eslint",
"plugin",
"rules",
"eslint-rules"
"typescript",
"jsdoc",
"eslint",
"tslint",
"eslint-plugin",
"best-practices",
"exceptions",
"eslint-rules",
"exception-handling",
"typescript-eslint"
],
"author": "Xvezda <[email protected]>",
"homepage": "https://github.com/Xvezda/eslint-plugin-explicit-exceptions",
Expand Down
1 change: 1 addition & 0 deletions src/rules/check-throws-tag-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ module.exports = createRule({
callbackNode =
/** @type {import('@typescript-eslint/utils').TSESTree.FunctionLike | null} */
(declaration);
break;
}
default:
break;
Expand Down
1 change: 1 addition & 0 deletions src/rules/no-undocumented-throws.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ module.exports = createRule({
callbackNode =
/** @type {import('@typescript-eslint/utils').TSESTree.FunctionLike | null} */
(declaration);
break;
}
default:
break;
Expand Down