1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| import type { OxlintConfig } from 'oxlint';
|
| const importPluginConfig: OxlintConfig = {
| rules: {
| 'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
| 'import/first': 'error',
| 'import/no-duplicates': 'error',
| 'import/no-mutable-exports': 'error',
| 'import/no-named-as-default': 'off',
| 'import/no-named-as-default-member': 'off',
| 'import/no-named-default': 'error',
| 'import/no-self-import': 'error',
| 'import/no-unassigned-import': 'off',
| 'import/no-webpack-loader-syntax': 'error',
| },
| };
|
| export { importPluginConfig };
|
|