Logo
Explore Help
Sign In
DaddyFrosty/yoga
1
0
Fork 0
You've already forked yoga
Code Issues 96 Pull Requests 31 Actions Packages Projects Releases 33 Wiki Activity
Files
a1fbbc6070a25530ab020efedc7cb62f84bcdd3f
yoga/javascript/tsconfig.json

19 lines
341 B
JSON
Raw Normal View History

Lint and typecheck TypeScript (#1276) Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1276 This change starts to enlighten linting and other repo configuration to TypeScript. This was previously special-cased out of linting, and meant we were not linting everything. It is also a precondition to do real typechecking and linting our definitions with type information. 1. Add TypeScript dependencies 1. Configure ESLint, Babel, tsc for TypeScript 1. Run tsc as part of linting (OSS only for now) This is continued in another change with adding types to scripts and config files, but more importantly converting hand-written tests and test generation to TypeScript, so we get real-world usage to typecheck against for testing. Reviewed By: yungsters Differential Revision: D45508576 fbshipit-source-id: 6d2e48b9d25bb6b1788440ea3515ea5f5c64d346
2023-05-04 08:11:04 -07:00
{
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"baseUrl": ".",
"paths": {
"yoga-layout": ["src_js"]
}
},
"ts-node": {
"transpileOnly": true
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 99ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API