Skip to content

Commit

Permalink
Disable import/extensions for require('..')
Browse files Browse the repository at this point in the history
To work around
import-js/eslint-plugin-import#2844

Signed-off-by: Kevin Locke <[email protected]>
  • Loading branch information
kevinoid committed Sep 15, 2023
1 parent 40e723d commit f10e997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/json-replace-exponentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

'use strict';

const jsonReplaceExponentials = require('..');
const packageJson = require('../package.json');
// https://github.com/import-js/eslint-plugin-import/issues/2844
// eslint-disable-next-line import/extensions
const jsonReplaceExponentials = require('..');
const packageJson = require('../package.json');

/** Options for command entry points.
*
Expand Down

0 comments on commit f10e997

Please sign in to comment.