twenty/packages/twenty-front/.eslintrc.cjs
martmull 695991881f
6071 return only updated fields of records in zapier update trigger (#8193)
- 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
2024-11-04 17:44:36 +01:00

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',
},
},
],
};