Enforce front project structure through ESLINT (#7863)
Fixes: https://github.com/twentyhq/twenty/issues/7329
This commit is contained in:
@ -21,7 +21,14 @@ module.exports = {
|
||||
parserOptions: {
|
||||
project: ['packages/twenty-front/tsconfig.{json,*.json}'],
|
||||
},
|
||||
rules: {},
|
||||
plugins: ['project-structure'],
|
||||
settings: {
|
||||
'project-structure/folder-structure-config-path':
|
||||
'packages/twenty-front/folderStructure.json',
|
||||
},
|
||||
rules: {
|
||||
'project-structure/folder-structure': 'error',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user