liu
2026-08-21 e47bc9e53ed3d64016c1e0db67d280e63b367e07
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import type { OxlintConfig } from 'oxlint';
 
const comments: OxlintConfig = {
  jsPlugins: [
    {
      name: 'eslint-comments',
      specifier: '@eslint-community/eslint-plugin-eslint-comments',
    },
  ],
  rules: {
    'eslint/no-underscore-dangle': 'off',
    'eslint-comments/no-aggregating-enable': 'error',
    'eslint-comments/no-duplicate-disable': 'error',
    'eslint-comments/no-unlimited-disable': 'error',
    'eslint-comments/no-unused-enable': 'error',
  },
};
 
export { comments };