Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 解决本地开发控制台warning & babel 解析 tsx、jsx 语法 (#3360)
* chore: 解决本地开发控制台warning * chore: gatsby-antv-theme 中会读取 .babelrc 文件, 导致网站启动问题 如果没有,就会有默认自己的配置。所以我们的项目根目录不能有 babelrc 文件
- Loading branch information
Showing
3 changed files
with
59 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,48 @@ | ||
{ | ||
"mainEntryPointFilePath": "<projectFolder>/lib/api.d.ts", | ||
"apiReport": { | ||
"enabled": false | ||
}, | ||
"docModel": { | ||
"enabled": false | ||
}, | ||
"dtsRollup": { | ||
"enabled": true | ||
}, | ||
"tsdocMetadata": { | ||
"enabled": false | ||
} | ||
} | ||
{ | ||
"mainEntryPointFilePath": "<projectFolder>/lib/api.d.ts", | ||
"apiReport": { | ||
"enabled": false | ||
}, | ||
"docModel": { | ||
"enabled": false | ||
}, | ||
"dtsRollup": { | ||
"enabled": true | ||
}, | ||
"tsdocMetadata": { | ||
"enabled": false | ||
}, | ||
"messages": { | ||
"extractorMessageReporting": { | ||
"ae-missing-release-tag": { | ||
"logLevel": "none" | ||
}, | ||
"ae-forgotten-export": { | ||
"logLevel": "none" | ||
} | ||
}, | ||
"tsdocMessageReporting": { | ||
"tsdoc-escape-right-brace": { | ||
"logLevel": "none" | ||
}, | ||
"tsdoc-escape-greater-than": { | ||
"logLevel": "none" | ||
}, | ||
"tsdoc-param-tag-missing-hyphen": { | ||
"logLevel": "none" | ||
}, | ||
"tsdoc-reference-hash-syntax": { | ||
"logLevel": "none" | ||
}, | ||
"tsdoc-malformed-inline-tag": { | ||
"logLevel": "none" | ||
}, | ||
"tsdoc-undefined-tag": { | ||
"logLevel": "none" | ||
}, | ||
"tsdoc-param-tag-with-invalid-optional-name": { | ||
"logLevel": "none" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters