mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-27 14:24:06 +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.
16 lines
429 B
JavaScript
16 lines
429 B
JavaScript
module.exports = {
|
|
extends: ['../../.eslintrc.cjs', '../../.eslintrc.react.cjs'],
|
|
ignorePatterns: ['!**/*', 'node_modules', 'dist', 'src/generated/*.tsx'],
|
|
overrides: [
|
|
{
|
|
files: ['*.ts', '*.tsx'],
|
|
parserOptions: {
|
|
project: ['packages/twenty-chrome-extension/tsconfig.{json,*.json}'],
|
|
},
|
|
rules: {
|
|
'@nx/workspace-explicit-boolean-predicates-in-if': 'warn',
|
|
},
|
|
},
|
|
],
|
|
};
|