![](/img/trans.png)
[英]why angular in webstorm (TSLINT) send me alert when “_id” in model is definied?
[英]Skip tslint alert in angular
我有一個要跳過的 tslint 警報,但是正如您在圖像中看到的那樣,我使用了很多標志並且不起作用
我也嘗試在 tslint conf 中排除該文件夾,但也不起作用。
If someone is asking, I have the error because I have in the angular.json a filereplacement to replace /bookappointments/bookappointments.page.html whit this one witch is in /bookappointments/costum/bookappointments.page-costum.html"
(我讀過不能對 html 文件使用文件替換,但沒有找到必須怎么做:-()
這不是錯誤,也不是來自 angular。 這只是一個代碼格式化規則,讓每個開發人員實現代碼看起來都一樣。
如果你不感興趣,你可以通過禁用
修改tslint.json
文件
"javascript.validate.enable": false
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.