mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-02 00:22:32 +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.
44 lines
995 B
JSON
44 lines
995 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable", "ES2023", "ES2023.Array"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"allowJs": true,
|
|
"esModuleInterop": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/modules/*"],
|
|
"~/*": ["src/*"],
|
|
"twenty-ui": ["../twenty-ui/src/index.ts"]
|
|
},
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowSyntheticDefaultImports": true,
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"files": [],
|
|
"include": [],
|
|
"references": [
|
|
{
|
|
"path": "./tsconfig.app.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.spec.json"
|
|
}
|
|
]
|
|
}
|