Skip to content

Commit 6116b0f

Browse files
committed
refactor: remove unused disable directives
1 parent 874adab commit 6116b0f

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

src/eslint/getJSDocComment.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const looksLikeExport = function (astNode) {
2626
astNode.type === 'ExportAllDeclaration' || astNode.type === 'ExportSpecifier';
2727
};
2828

29-
/* eslint-disable complexity */
3029
/**
3130
* Retrieves the JSDoc comment for a given node.
3231
*
@@ -107,6 +106,5 @@ const getJSDocComment = function (sourceCode, node, settings) {
107106
return findJSDocComment(node);
108107
}
109108
};
110-
/* eslint-enable complexity */
111109

112110
export default getJSDocComment;

src/rules/noUndefinedTypes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line import/no-unassigned-import
21
import _ from 'lodash';
32
import {parse as parseType, traverse} from 'jsdoctypeparser';
43
import iterateJsdoc, {parseComment} from '../iterateJsdoc';

src/rules/requireParam.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import iterateJsdoc from '../iterateJsdoc';
22

3-
// eslint-disable-next-line complexity
43
export default iterateJsdoc(({
54
report,
65
utils,

test/rules/assertions/checkExamples.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable no-restricted-syntax */
2-
31
export default {
42
invalid: [
53
{

0 commit comments

Comments
 (0)