// only add rules related to barrel files
// see: https://marvinh.dev/blog/speeding-up-javascript-ecosystem-part-7/

export default {
  // Avoid barrel files
  // https://github.com/thepassle/eslint-plugin-barrel-files/blob/main/docs/rules/avoid-barrel-files.md
  'barrel-files/avoid-barrel-files': 'off',

  // Avoid importing barrel files
  // https://github.com/thepassle/eslint-plugin-barrel-files/blob/main/docs/rules/avoid-importing-barrel-files.md
  'barrel-files/avoid-importing-barrel-files': 'off',

  // Avoid namespace imports from barrel files
  // https://github.com/thepassle/eslint-plugin-barrel-files/blob/main/docs/rules/avoid-namespace-import.md
  'barrel-files/avoid-namespace-import': 'off',

  // Avoid re-export all from barrel files
  // https://github.com/thepassle/eslint-plugin-barrel-files/blob/main/docs/rules/avoid-re-export-all.md
  'barrel-files/avoid-re-export-all': 'error',
};
