Skip to content

Commit

Permalink
use overrides instead of inline file-wide disables
Browse files Browse the repository at this point in the history
  • Loading branch information
soryy708 committed Mar 13, 2024
1 parent 5516647 commit d6907f7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .eslintrc
Expand Up @@ -225,6 +225,15 @@
"no-console": 1,
},
},
{
"files": [
"resolvers/webpack/index.js",
"utils/parse.js",
],
"rules": {
"no-console": "off",
},
},
{
"files": [
"resolvers/*/test/**/*",
Expand Down
2 changes: 0 additions & 2 deletions resolvers/webpack/index.js
@@ -1,7 +1,5 @@
'use strict';

/* eslint-disable no-console */

const findRoot = require('find-root');
const path = require('path');
const isEqual = require('lodash/isEqual');
Expand Down
2 changes: 0 additions & 2 deletions utils/parse.js
@@ -1,7 +1,5 @@
'use strict';

/* eslint-disable no-console */

exports.__esModule = true;

/** @typedef {`.${string}`} Extension */
Expand Down

0 comments on commit d6907f7

Please sign in to comment.