mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 18:35:44 +00:00
bd7bd75569
Lift the mists of confusion by checking that all JavaScript types align. No ignores! This is the JavaScript equivalent to Phan. This patch adds the necessary infrastructure for verifying typing and fixes the few flaws found. Bug: T239262 Change-Id: I2557471421196ea46cd13dfb786a52968fbfcc97
20 lines
393 B
JSON
20 lines
393 B
JSON
{
|
|
"exclude": ["docs", "vendor"],
|
|
"compilerOptions": {
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"newLine": "lf",
|
|
"forceConsistentCasingInFileNames": true,
|
|
"pretty": true,
|
|
"target": "es5",
|
|
"lib": ["dom"],
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"noEmit": true
|
|
}
|
|
}
|