You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated tsconfig.json by hardhat3 --init has two extra/invalid properties that are copied from a parent project. We should remove them: display and _version.
Also the flags in the generated tsconfig.json are using lowercase, instead of the official PascalCase. It will be accepted by tsc, but it might trip/fail checking by external json-schema validators/linters. For example node16 and es2022 and es2023.
We should ensure that the default configs will pass json-schema linting.
Originally report by Omar while testing the Alpha.
The text was updated successfully, but these errors were encountered:
@kanej
The display and _version properties have been already remove by Pato.
About using pascal case for the string values, it seems that lowercase is the predominant casing: https://www.typescriptlang.org/tsconfig/. Checked examples for "module", "target", etc.
The generated tsconfig.json by hardhat3 --init has two extra/invalid properties that are copied from a parent project. We should remove them: display and _version.
Also the flags in the generated tsconfig.json are using lowercase, instead of the official PascalCase. It will be accepted by tsc, but it might trip/fail checking by external json-schema validators/linters. For example node16 and es2022 and es2023.
We should ensure that the default configs will pass json-schema linting.
Originally report by Omar while testing the Alpha.
The text was updated successfully, but these errors were encountered: