Skip to content

Commit

Permalink
chore: enabling our esm eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Oct 7, 2023
1 parent 9daec56 commit 2a7da38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": [
"@readme/eslint-config",
"@readme/eslint-config/typescript"
"@readme/eslint-config/typescript",
"@readme/eslint-config/esm"
],
"root": true,
"rules": {
Expand Down
4 changes: 2 additions & 2 deletions test/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { describe, test, it, expect } from 'vitest';

import removeUndefinedObjects from '../src';
import removeUndefinedObjects from '../src/index.js';

describe('typings', () => {
it('should not blow away typings from supplied objects', () => {
const obj: { key: string } = removeUndefinedObjects({
const obj = removeUndefinedObjects({
key: 'buster',
});

Expand Down

0 comments on commit 2a7da38

Please sign in to comment.