Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make module compatible with native ESM #3271

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .ncurc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
dep: 'prod,dev'
reject:
# https://github.com/react-dropzone/react-dropzone/issues/1259#issuecomment-2395085954
- react-dropzone
10 changes: 9 additions & 1 deletion eslint.config.mjs → eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ export default [
...ts,
...unicorn,
...react,
{
files: ['**/*.{ts,tsx,cts,mts}'],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
},
},
{
rules: {
'import/default': 'off',
Expand All @@ -32,7 +39,8 @@ export default [
'error',
{
name: 'lodash',
message: "Use a deep import instead, like for example 'lodash/get'",
message:
"Use a deep import instead, like for example 'lodash/get.js'",
},
{
name: '@simbathesailor/use-what-changed',
Expand Down
Loading
Loading