Been migrating from ESLint to OXLint and spotted a difference on import/no-namespace.
Original rule allow glob pattern in ignore parameter, OXLint version does not work.
For example in a backend project with Drizzle ORM, the usual is to have schema and export / import all of those at once like
import * as schema from 'src/db/schema'
// or also in another module
import * as schema from '../db/schema'
For this case you want to set 'import/no-namespace': ['error', { ignore: ['*schema'] }] but it does not work. You have to be specific on the module import path and list all of them.
Been migrating from ESLint to OXLint and spotted a difference on
import/no-namespace.Original rule allow glob pattern in
ignoreparameter, OXLint version does not work.For example in a backend project with Drizzle ORM, the usual is to have schema and export / import all of those at once like
For this case you want to set
'import/no-namespace': ['error', { ignore: ['*schema'] }]but it does not work. You have to be specific on the module import path and list all of them.