Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: eslint ignore requireOrImportConfig
  • Loading branch information
natemoo-re committed Feb 8, 2021
commit 5883caf4cff8e04ec2a4c0f0f95f1602b59a99f8
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/docs
/__tests__/fixtures/cli-utils.js
/stubs/*
/src/util/requireOrImportConfig.js
4 changes: 2 additions & 2 deletions src/util/requireOrImportConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// Node v12.17+ exposes `import` within CJS files
// in order to `require` ESM files.

// This file is intentionally excluded from `babel`
// to avoid transpiling the `import` statement
// This file is intentionally excluded from `babel` (and `eslint`)
// to avoid transpiling away the `import` statement

Object.defineProperty(exports, "__esModule", {
value: true
Expand Down