Skip to content

Commit 19c3e21

Browse files
committed
Removed: unnecessary eslint-disable-next-line comment in pwd-commitlint.ts
The `eslint-disable-next-line` comment for `@typescript-eslint/no-var-requires` was removed from `pwd-commitlint.ts` as it was no longer necessary. The code now adheres to the linting rules without exceptions, improving code quality and maintainability.
1 parent d4ea077 commit 19c3e21

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/modules/commitlint/pwd-commitlint.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const nodeModulesPath = path.join(process.env.PWD || process.cwd(), 'node_module
99
* @returns
1010
*/
1111
export const getCommitLintPWDConfig = async () => {
12-
// eslint-disable-next-line @typescript-eslint/no-var-requires
1312
const load = require(nodeModulesPath).default;
1413

1514
if (load && typeof load === 'function') {

0 commit comments

Comments
 (0)