mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 12:34:10 +03:00
35 lines
826 B
JavaScript
35 lines
826 B
JavaScript
module.exports = {
|
|
extends: ['../../.eslintrc.cjs', '../../.eslintrc.react.cjs'],
|
|
ignorePatterns: [
|
|
'!**/*',
|
|
'node_modules',
|
|
'mockServiceWorker.js',
|
|
'**/generated*/*',
|
|
'**/generated/standard-metadata-query-result.ts',
|
|
'tsup.config.ts',
|
|
'build',
|
|
'coverage',
|
|
'storybook-static',
|
|
'**/*config.js',
|
|
'codegen*',
|
|
'tsup.ui.index.tsx',
|
|
'__mocks__',
|
|
],
|
|
overrides: [
|
|
{
|
|
files: ['*.ts', '*.tsx'],
|
|
parserOptions: {
|
|
project: ['packages/twenty-front/tsconfig.{json,*.json}'],
|
|
},
|
|
plugins: ['project-structure'],
|
|
settings: {
|
|
'project-structure/folder-structure-config-path':
|
|
'packages/twenty-front/folderStructure.json',
|
|
},
|
|
rules: {
|
|
'project-structure/folder-structure': 'error',
|
|
},
|
|
},
|
|
],
|
|
};
|