Skip to content

Commit

Permalink
Update eslint rules for eslint comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewZinko committed Sep 15, 2023
1 parent f5529fa commit f46ca3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ const paddingsRule = {
],
};

const commentsRule = {
"eslint-comments/disable-enable-pair": "off"
}

const namingConventionRule = {
'@typescript-eslint/naming-convention': [
'error',
Expand Down Expand Up @@ -377,6 +381,7 @@ module.exports = {
...spellCheckerRule,
...importRules,
...paddingsRule,
...commentsRule,
...namingConventionRule,
},
overrides: [
Expand Down
1 change: 0 additions & 1 deletion src/imports/lodash.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line eslint-comments/disable-enable-pair -- for no-restricted-imports disabling.
/* eslint-disable no-restricted-imports -- disable rule this file as we can`t exclude files from rule. */
import capitalize from 'lodash/capitalize';
import ceil from 'lodash/ceil';
Expand Down

0 comments on commit f46ca3d

Please sign in to comment.