UNPKG

@exadel/eslint-config-esl

Version:

Shared ESLint config used by ESL (@exadel/esl) team. Internal projects usage.

24 lines (19 loc) 544 B
import importPlugin from 'eslint-plugin-import'; export default [ { plugins: { 'import': importPlugin }, rules: { // Reports funny business with exports, like repeated exports of names or defaults. 'import/export': 'warn', // Warn about duplicate imports 'no-duplicate-imports': 'off', 'import/no-duplicates': 'warn', // Forbid a module from importing itself 'import/no-self-import': 'error', // Deprecate cyclic dependencies 'import/no-cycle': 'error' } } ];