Open david-gomey opened 1 week ago
After adding the rule barrel-files/avoid-importing-barrel-files eslint is returning an error with scss files:
barrel-files/avoid-importing-barrel-files
Our configuration for that rule is:
'barrel-files/avoid-importing-barrel-files': [ 2, { maxModuleGraphSizeAllowed: 40, amountOfExportsToConsiderModuleAsBarrel: 5, exportConditions: ['node', 'import'], mainFields: ['module', 'main', 'browser'], extensions: ['.js', '.ts', '.d.ts', '.jsx', '.tsx', '.json'], tsconfig: { configFile: './tsconfig.json', references: [], }, alias: { ... }, }, ],
The import is a relative import from a React component: import './TemplateCard.scss';
import './TemplateCard.scss';
We are trying to create a project to reproduce, but it is not failing. Do you have any idea why this might happen?
After adding the rule
barrel-files/avoid-importing-barrel-files
eslint is returning an error with scss files:Our configuration for that rule is:
The import is a relative import from a React component:
import './TemplateCard.scss';
We are trying to create a project to reproduce, but it is not failing. Do you have any idea why this might happen?