Commit Graph

32218 Commits

Author SHA1 Message Date
openharmony_ci
7fc46f4a69
!473 [ArkTS Linter] Revert linter cache funtion change
Some checks failed
CI / build (10.x) (push) Has been cancelled
CI / build (12.x) (push) Has been cancelled
CI / build (14.x) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Merge pull request !473 from ironrain/work_0908_None_revertCache
2024-10-10 11:04:11 +00:00
openharmony_ci
3b10398d5f
!499 [Linter] 重载函数的严格模式过滤问题
Some checks failed
CI / build (10.x) (push) Has been cancelled
CI / build (12.x) (push) Has been cancelled
CI / build (14.x) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Merge pull request !499 from azwenqiang/0926_bugfix_strict
2024-09-28 11:44:20 +00:00
azwenqiang
9e752fa9eb fix overload
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IATX2I
Signed-off-by: azwenqiang <dengwenqiang5@huawei.com>
Change-Id: I4e560a76eb7827bb988589ef1998412d497b5577
2024-09-27 11:59:40 +08:00
openharmony_ci
da9425d36a
!489 fix maximum call stack about property access expression jsdoc checking loop
Some checks failed
CI / build (10.x) (push) Failing after 1s
CI / build (12.x) (push) Failing after 1s
CI / build (14.x) (push) Failing after 1s
Update package-lock.json / build (push) Failing after 0s
Publish Nightly / build (push) Failing after 0s
Twoslash Code Sample Repros / build (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Merge pull request !489 from liyancheng/fix_maximum_call_stack
2024-09-20 08:41:02 +00:00
openharmony_ci
e63923a05f
!487 fix function isSendableTypeNode with warning
Some checks failed
CI / build (10.x) (push) Failing after 0s
CI / build (12.x) (push) Failing after 0s
CI / build (14.x) (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Update package-lock.json / build (push) Failing after 1s
Publish Nightly / build (push) Failing after 1s
Twoslash Code Sample Repros / build (push) Failing after 1s
Merge pull request !487 from yangrui/0917_warning
2024-09-18 08:24:40 +00:00
yangrui
06dcb87f34 fix function isSendableTypeNode with warning
issue:#IARNAN

testL: tsc test && arkts test

Signed-off-by: yangrui <yangrui185@huawei.com>
Change-Id: Id7504a887f12c82c71ecbddde08e57c6c99b7c8a
2024-09-18 12:48:37 +08:00
liyancheng2
88a1017ffd fix maximum call stack about property access expression jsdoc checking
loop

Issue: https://gitee.com/openharmony/third_party_typescript/issues/IARR2V

Signed-off-by: liyancheng2 <liyancheng2@huawei.com>
Change-Id: I0ed173acf5e2c029367c7bac6f693cb8d25b55df
2024-09-18 11:33:17 +08:00
openharmony_ci
10d70bac8b
!453 [ArkTS Linter] Add testcase for sendable rules
Some checks failed
CI / build (10.x) (push) Failing after 0s
CI / build (12.x) (push) Failing after 0s
CI / build (14.x) (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Update package-lock.json / build (push) Failing after 2s
Publish Nightly / build (push) Failing after 0s
Twoslash Code Sample Repros / build (push) Failing after 0s
Merge pull request !453 from ironrain/work_0814_None_testcase
2024-09-14 07:22:35 +00:00
openharmony_ci
c76d5c4edc
!474 [ArkTS Linter] Fix #18113: arkts-identifiers-as-prop-names report information is not placed properly
Merge pull request !474 from Evgeniy Okolnov/arkts-linter-18113
2024-09-14 04:52:30 +00:00
openharmony_ci
b694bb6c1b
!475 [ArkTS Linter] Fix #17839: function isSendableTypeNode doesn't work for alias type node when it is a generic type
Some checks failed
CI / build (10.x) (push) Failing after 0s
CI / build (12.x) (push) Failing after 0s
CI / build (14.x) (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Update package-lock.json / build (push) Failing after 0s
Publish Nightly / build (push) Failing after 0s
Twoslash Code Sample Repros / build (push) Failing after 0s
Merge pull request !475 from Evgeniy Okolnov/arkts-linter-17839
2024-09-14 04:36:28 +00:00
openharmony_ci
dcd51df41f
!481 Add getEmitHost to program
Some checks failed
CI / build (10.x) (push) Failing after 0s
CI / build (12.x) (push) Failing after 0s
CI / build (14.x) (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Merge pull request !481 from 肖培阳/addGetEmitHost
2024-09-13 14:10:59 +00:00
lizhonghan
b438ca5e65 Add testcases for sendable rules
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IAK1BE

Change-Id: Iec8012265afd85f26b77d6b4094ff92a666a822a
Signed-off-by: lizhonghan <lizhonghan1@huawei.com>
2024-09-13 17:13:35 +08:00
openharmony_ci
da083844c0
!469 Fix codecheck
Merge pull request !469 from caiy/codecheck
2024-09-12 14:25:24 +00:00
openharmony_ci
5efac7c439
!482 Add license of typescript in sdk
Merge pull request !482 from zju_wyx/0905-license
2024-09-10 11:52:19 +00:00
zju_wyx
b0427d44ff Add lisence of typescript in sdk
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IA9OZ9?from=project-issue
Signed-off-by: zju_wyx <wangyunxiao8@huawei.com>
Change-Id: Ic0b9aafabfab27e167fb366dd27dac53ae20597a
2024-09-09 15:43:05 +08:00
openharmony_ci
23dadb5cb9
!452 ArkTS Linter 测试用例补充
Merge pull request !452 from yangrui/testcase
2024-09-09 02:53:13 +00:00
Okolnov Evgeniy
2ad1e58ee4 [ArkTS Linter] Fix #18113: arkts-identifiers-as-prop-names report information is not placed properly
Issue:https://gitee.com/openharmony/third_party_typescript/issues/IAPQG8

Test: tsc tests

Signed-off-by: Okolnov Evgeniy <okolnov.evgeny1@huawei-partners.com>
2024-09-08 21:17:58 +03:00
Okolnov Evgeniy
5c2690d1e3 [ArkTS Linter] Fix #17839: function isSendableTypeNode doesn't work for alias type node when it is a generic type
Issue:https://gitee.com/openharmony/third_party_typescript/issues/IAPPTT

Test: tsc tests

Signed-off-by: Okolnov Evgeniy <okolnov.evgeny1@huawei-partners.com>
2024-09-08 15:55:49 +03:00
openharmony_ci
89757fc159
!480 Delete useless files in /doc
Merge pull request !480 from zju_wyx/0905-delete-files
2024-09-06 05:32:02 +00:00
xiaopeiyang
0a0fbe239a Add getEmitHost to program
Issue:https://gitee.com/openharmony/developtools_ace_ets2bundle/issues/IANF9F
Test:npm run test

Signed-off-by: xiaopeiyang <xiaopeiyang1@huawei.com>
Change-Id: Ib70d1b3268090535d69e4be642ba88ab737ba6df
2024-09-05 17:25:04 +08:00
zju_wyx
2d5d0cfc97 Delete the useless files in /doc
Issue: https://gitee.com/openharmony/third_party_typescript/issues/I9B7XY
Signed-off-by: zju_wyx <wangyunxiao8@huawei.com>
Change-Id: I220f1ed34674c8d213929cd8152e4dac32dd8a09
2024-09-05 15:47:39 +08:00
yangrui
fa1572eafd Add ArtTs Linter testcase
issue:#IAJZAQ

testL:arkts test

Signed-off-by: yangrui <yangrui185@huawei.com>
Change-Id: I60c55b74076b9eb308db84fc86fcfa92eba702a1
2024-09-05 15:17:26 +08:00
lizhonghan
cd1ef5cd7d [ArkTS Linter] Revert linter cache funtion change
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IAO9I4

1. Revert standalnoe linter cache for normalizePath()

Change-Id: I637c2c48a9d1265e4de1deb6fe56b83bd70b5825
Signed-off-by: lizhonghan <lizhonghan1@huawei.com>
2024-09-04 17:37:14 +08:00
c30058867
3125a1b2cf CodeCheck
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IAMWSP

Signed-off-by: caiy <caiyu30@huawei.com>
2024-08-31 17:53:37 +08:00
openharmony_ci
9f87056417
!464 [ArkTS Linter] Optimize linter function perfomance
Merge pull request !464 from ironrain/work_0826_pr_437_perfomance
2024-08-31 08:00:34 +00:00
lizhonghan
fc47370fc9 [ArkTS Linter] Optimize linter function perfomance
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IAML46

1. Optimize normalizePath, getParentSymbolName, pathContainsDirectory and getAllDiagnostics functions.
2. update test item #13912.json for ArkUI error.

Change-Id: I33cf96aac831fa1aa971d929a339a02d7253fd17
Signed-off-by: lizhonghan <lizhonghan1@huawei.com>
2024-08-30 20:47:17 +08:00
openharmony_ci
8fbd751512
!466 Fix unknow strict mode error
Merge pull request !466 from caiy/strict-unknow
2024-08-30 11:44:03 +00:00
c30058867
696a00f5ff Fix unknow strict mode error
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IANLIC

Signed-off-by: caiy <caiyu30@huawei.com>
2024-08-30 18:17:01 +08:00
openharmony_ci
de96c25960
!419 Fix codecheck snake variable name and update testcase
Merge pull request !419 from ironrain/work_0704_None_codecheck
2024-08-28 09:36:31 +00:00
openharmony_ci
e8cac0f758
!434 improve kit in tsc
Merge pull request !434 from 徐城/dev-2024-0723-kit
2024-08-24 14:31:46 +00:00
xucheng46
563cf495d9 improve kit import in tsc
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IAF34F
Test: tsc tests

Signed-off-by: xucheng46 <xucheng46@huawei.com>
Change-Id: Id9f19298b8cca42e5227315605e0dd19dcca0db1
2024-08-24 20:54:12 +08:00
openharmony_ci
e650cbf98f
!460 Optimized strict model
Merge pull request !460 from c30058867/strict_model
2024-08-24 12:43:52 +00:00
c30058867
7b1b3ed127 Optimized strict model
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IALZZG

Signed-off-by: c30058867 <caiyu30@huawei.com>
2024-08-24 18:55:57 +08:00
lizhonghan
87c8e709be Fix codecheck snake variable name and update testcase
issue: https://gitee.com/openharmony/third_party_typescript/issues/IAAIET

1. fix testcase codecheck.
2. update testcase file.

Change-Id: Ia5500555c65c6c255e37a5e9b37f8c46dfd37ae5
Signed-off-by: lizhonghan <lizhonghan1@huawei.com>
2024-08-23 16:34:58 +08:00
openharmony_ci
370a10f69a
!449 fix 多态
Merge pull request !449 from Bo Jiang/dev
2024-08-23 08:16:04 +00:00
BoJiang
27c0de81d3 jiangbo91@huawei.com
Signed-off-by: BoJiang <jiangbo91@huawei.com>
Change-Id: I409adcd05b6dce94da057a7c0534bc9451c4e90d
2024-08-22 20:23:33 +08:00
openharmony_ci
0d49f48d84
!454 [Linter] Remove import lazy
Merge pull request !454 from azwenqiang/0815_remove_import_lazy
2024-08-16 08:50:46 +00:00
azwenqiang
a78cedb97b Remove import lazy
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IAK8VW
Signed-off-by: azwenqiang <dengwenqiang5@huawei.com>
Change-Id: I4f9330dbeb6c969a44c8380e16451a92880254d7
2024-08-16 14:16:04 +08:00
openharmony_ci
347b48503a
!450 [Linter] 回退SendableFunction相关问题修复
Merge pull request !450 from azwenqiang/0812_bugfix_faultId
2024-08-14 03:26:23 +00:00
azwenqiang
6b2d00454e fallback bugfix
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IAJECL
Signed-off-by: azwenqiang <dengwenqiang5@huawei.com>
Change-Id: Ibc557fbd25065b4a54c309907b52e490f082b929
2024-08-13 17:57:34 +08:00
openharmony_ci
3438daf290
!353 Add annotations support, stage 1
Merge pull request !353 from Shumilov Petr/add_annotation_stage1
2024-08-10 14:37:20 +00:00
Shumilov Petr
d46d639372 Add annotation support, stage 1
Signed-off-by: Shumilov Petr <shumilov.petr1@huawei-partners.com>
2024-08-10 12:25:00 +03:00
openharmony_ci
c828d2ddf2
!446 [Linter] compatibleSdkVersionStage 配置的增量逻辑处理
Merge pull request !446 from azwenqiang/0731_bugfix_sync
2024-08-08 06:13:21 +00:00
azwenqiang
88e401ccd8 Fix increment
Issue: https://gitee.com/openharmony/third_party_typescript/issues/IAGZ78
Signed-off-by: azwenqiang <dengwenqiang5@huawei.com>
Change-Id: I7a5bf6503fb9159b8dcfcae3561d052f2773bf74
2024-08-08 10:53:59 +08:00
openharmony_ci
fed4091393
!448 Sync blue and yellow codes
Merge pull request !448 from chenqy930/sync-blue-yellow
2024-08-06 14:14:23 +00:00
c00513733
f219c57da5 Sync yellow and blue codes
Issue:https://gitee.com/openharmony/third_party_typescript/issues/IAI9AM

Signed-off-by: c00513733 <chenqiuyao@huawei.com>
Change-Id: I041f06aeeae3b5475ad71c5307e7ec536eba2f35
2024-08-06 17:41:32 +08:00
openharmony_ci
f01e1bf702
!440 修复arkts-sendable-explicit-field-type codecheck问题
Merge pull request !440 from xxlight/fix_codecheck
2024-08-05 07:35:06 +00:00
openharmony_ci
900d1b7d1b
!444 修复@Builder函数未识别自定义组件尾随闭包
Merge pull request !444 from Bo Jiang/dev
2024-08-01 08:04:25 +00:00
openharmony_ci
036efcab61
!445 [Linter] 修复 Sendable Function 对 beta1、2的兼容
Merge pull request !445 from azwenqiang/0730_bugfix_linter_compatibility
2024-07-31 06:24:13 +00:00
openharmony_ci
df65100d19
!442 fix xts 概率报错
Merge pull request !442 from Bo Jiang/master
2024-07-31 06:18:28 +00:00