chore: use common eslint config for most packages (#4705)

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.
This commit is contained in:
Thaïs
2024-04-04 12:05:26 +02:00
committed by GitHub
parent ff0db8d716
commit bf8ee99ebb
28 changed files with 667 additions and 698 deletions

View File

@ -2,17 +2,15 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"declaration": true,
"types": ["node", "vite/client"]
"types": ["node"]
},
"include": ["src/**/*.ts"],
"exclude": [
"jest.config.ts",
"src/**/*.spec.ts",
"src/**/*.test.ts",
"**/*.spec.ts",
"**/*.spec.tsx",
"**/*.stories.ts",
"**/*.stories.js",
"**/*.stories.jsx",
"**/*.stories.tsx"
]
"**/*.stories.tsx",
"**/*.test.ts",
"**/*.test.tsx"
],
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.tsx"]
}