Skip to content

Commit

Permalink
ignore eslint no-console where it makes sense
Browse files Browse the repository at this point in the history
  • Loading branch information
soryy708 committed Mar 13, 2024
1 parent d5ab2cc commit 5516647
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resolvers/webpack/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

/* eslint-disable no-console */

const findRoot = require('find-root');
const path = require('path');
const isEqual = require('lodash/isEqual');
Expand Down
1 change: 1 addition & 0 deletions resolvers/webpack/test/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ const file = path.join(__dirname, 'files', 'src', 'dummy.js');

const webpackDir = path.join(__dirname, 'different-package-location');

/* eslint-disable-next-line no-console */
console.log(resolve('main-module', file, { config: 'webpack.config.js', cwd: webpackDir }));
2 changes: 2 additions & 0 deletions utils/parse.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

/* eslint-disable no-console */

exports.__esModule = true;

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

0 comments on commit 5516647

Please sign in to comment.