Allow const enum

{
  javascript: {
    overrides: {
      // Allow `const enum`
      // <https://github.com/antfu/eslint-config/blob/642a9c2cdedf3c7f1e3787d2c1969aba0b53c9e4/src/configs/javascript.ts#L121-L125>
      'no-restricted-syntax': [
        'error',
        'TSExportAssignment',
      ],
    },
  },
}