2
0
Files
bot/packages/eslint-config-custom/index.js

24 lines
387 B
JavaScript
Raw Normal View History

2022-11-21 11:12:43 +01:00
module.exports = {
extends: ['next', 'prettier'],
settings: {
react: {
version: 'detect',
},
},
rules: {
'no-restricted-imports': [
'error',
{
patterns: [
'*/src/*',
'src/*',
'*/src',
'@/features/*/*',
'!@/features/blocks/*',
'!@/features/*/api',
],
},
],
},
}