mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-04 15:55:44 +03:00
bf8ee99ebb
Split from https://github.com/twentyhq/twenty/pull/4518 Related to #4766 Mutualizes eslint config between projects. I didn't include `twenty-server` in this PR as this was causing too many lint errors.
27 lines
531 B
JavaScript
27 lines
531 B
JavaScript
module.exports = {
|
|
extends: ['../../.eslintrc.cjs', '../../.eslintrc.react.cjs'],
|
|
ignorePatterns: [
|
|
'!**/*',
|
|
'node_modules',
|
|
'mockServiceWorker.js',
|
|
'**/generated*/*',
|
|
'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}'],
|
|
},
|
|
rules: {},
|
|
},
|
|
],
|
|
};
|