Skip to content

Commit aeb3af5

Browse files
committed
chore(eslint): add 'import/no-named-as-default-member' off
1 parent 7729fe8 commit aeb3af5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test-multiple-versions.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
with:
4141
node-version: 20
4242
cache: 'pnpm'
43-
- run: pnpm install
43+
cache-dependency-path: '**/pnpm-lock.yaml'
44+
- run: pnpm install --frozen-lockfile
4445
- name: Test ${{ matrix.react }} ${{ matrix.devtools-skip }}
4546
run: |
4647
pnpm add -D react@${{ matrix.react }} react-dom@${{ matrix.react }}

eslint.config.mjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export default tseslint.config(
5050
'@typescript-eslint/parser': ['.ts', '.tsx'],
5151
},
5252
'import/resolver': {
53-
typescript: true,
5453
node: true,
54+
typescript: true,
5555
alias: {
5656
extensions: ['.js', '.jsx', '.ts', '.tsx'],
5757
map: [
@@ -73,6 +73,7 @@ export default tseslint.config(
7373
'import/no-unresolved': ['error', { commonjs: true, amd: true }],
7474
'import/export': 'error',
7575
'import/no-duplicates': ['error'],
76+
'import/no-named-as-default-member': 'off',
7677
'@typescript-eslint/explicit-module-boundary-types': 'off',
7778
'@typescript-eslint/no-unused-vars': [
7879
'warn',

0 commit comments

Comments
 (0)