You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'import/extensions': 'off',// for mjs, we sometimes need extensions
24
+
'import-x/extensions': 'off',// for mjs, we sometimes need extensions
25
25
'jsx-a11y/control-has-associated-label': 'off',
26
26
'@typescript-eslint/dot-notation': [
27
27
'error',
@@ -156,14 +156,14 @@ module.exports = {
156
156
'no-dupe-class-members': 'off',// this is called overloads in typescript
157
157
'react/no-unused-prop-types': 'off',// we should use types
158
158
'react/default-props-match-prop-types': 'off',// we should use types
159
-
'import/no-named-as-default': 'warn',
160
-
'import/no-named-as-default-member': 'warn',
159
+
'import-x/no-named-as-default': 'warn',
160
+
'import-x/no-named-as-default-member': 'warn',
161
161
'react/destructuring-assignment': 'warn',
162
162
163
163
// This warns about importing interfaces and types in a normal import, it's arguably better to import with the `type` prefix separate from the runtime imports,
164
164
// I leave this as a warning right now because we haven't really decided yet, and the codebase is riddled with errors if I set to 'error'.
0 commit comments