mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-30 03:43:02 +03:00
695991881f
- move webhook triggers into `entity-events-to-db.listener.ts` - refactor event management - add a `@OnDatabaseEvent` decorator to manage database events - add updatedFields in updated events - update openApi webhooks docs - update zapier integration
39 lines
878 B
JavaScript
39 lines
878 B
JavaScript
const path = require('path');
|
|
|
|
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':path.resolve(
|
|
__dirname,
|
|
'folderStructure.json'
|
|
)
|
|
},
|
|
rules: {
|
|
'project-structure/folder-structure': 'error',
|
|
},
|
|
},
|
|
],
|
|
};
|