Commit Graph

32090 Commits

Author SHA1 Message Date
openharmony_ci
894222ae21
!381 BitVector规则放宽
Merge pull request !381 from yangrui/bitvector
2024-05-17 10:31:57 +00:00
openharmony_ci
cb5cfc06ab
!367 arktslinter 1.0 测试用例修复 codeStyle 修复
Merge pull request !367 from yangrui/master
2024-05-17 03:34:24 +00:00
openharmony_ci
39f76417bb
!380 Fix codecheck (Typescript 5.2)
Merge pull request !380 from liujia178/ts_0514_5.2
2024-05-16 13:28:24 +00:00
openharmony_ci
5addb1121a
!372 Fix codecheck
Merge pull request !372 from liujia178/ts_0507
2024-05-16 13:26:47 +00:00
liujia178
b1561784f2 Fix codecheck
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9NARZ
Test:ts extra test

Signed-off-by: liujia178 <liujia178@huawei.com>
2024-05-16 16:23:26 +08:00
liujia178
9ca73e7be7 Fix codecheck
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9P2NI
Test:ts extra test

Signed-off-by: liujia178 <liujia178@huawei.com>
2024-05-16 16:20:10 +08:00
hid20141227
9cd52d17e6 Relax BitVector indexed access
issue: I9PKL0

Test: arkts test

Signed-off-by: hid20141227 <yangrui185@huawei.com>
Change-Id: Ibd6097546d2c13f574c16cd3c57e6892d511a8c1
2024-05-16 16:06:27 +08:00
openharmony_ci
338f143291
!375 Bug fixes for test cases before version 4.9 of TSC
Merge pull request !375 from 单维前/fix_tsc
2024-05-13 09:54:48 +00:00
openharmony_ci
1fb1af892d
!373 Implement Sendable closure
Merge pull request !373 from yangrui/rule7
2024-05-12 12:28:58 +00:00
hid20141227
07c00d7715 Implement sendable closure
issue:I9NEDV

test: Arkts test

Signed-off-by: hid20141227 <yangrui185@huawei.com>
Change-Id: I9d8980d3940e1c8856021044aca96725179a74b1
2024-05-11 17:51:24 +08:00
openharmony_ci
a2dbcc0525
!363 [ArkTSLinter] Fix Linter test files and add rule watch
Merge pull request !363 from ironrain/work_0429_tests
2024-05-11 09:07:52 +00:00
hid20141227
eb182f3004 Fix arkts linter test and codeStyle
issue:I9MCP1

test: linter test

Signed-off-by: hid20141227 <yangrui185@huawei.com>
Change-Id: Ib6be0f627ff7663664eeecf28faf5992bc50207d
2024-05-11 16:02:10 +08:00
shanweiqian
ea24da9d48 Bug fixes for test cases before version 4.9 of TSC
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9KW8G
Test: ts extra test

Signed-off-by: shanweiqian <shanweiqian@h-partners.com>
Change-Id: Ib8ae0f627ff7993664eeecf28faf5662bc50207q
2024-05-11 14:35:50 +08:00
lizhonghan
f91cf410c3 Fix issues test files, add rule watch
Issue: https://gitee.com/openharmony/third_party_typescript/issues/I9KR3D

internal: None

Change-Id: I89328d3bd4ed28696b35720a16865f4ece08cbd4
Signed-off-by: lizhonghan <lizhonghan1@huawei.com>
2024-05-10 14:58:36 +08:00
openharmony_ci
60f8b996fc
!368 Fix codecheck
Merge pull request !368 from ctw-ian/csec
2024-05-08 12:54:47 +00:00
ctw-ian
b4d009c946 Fix codecheck
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9MNMK

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I171b326fb09a33cb8dc6f691b1878827a11fe468
2024-05-06 17:30:11 +08:00
openharmony_ci
e05047d384
!366 Fix codecheck and ut of sendable
Merge pull request !366 from ctw-ian/fix
2024-05-06 02:54:17 +00:00
openharmony_ci
0f509d9ede
!365 Implement rules for shared module in linter
Merge pull request !365 from huyunhui/linter
2024-05-02 09:15:09 +00:00
openharmony_ci
80e1ec5d08
!364 Support the useTsHar for obfuscation [TSC]
Merge pull request !364 from zhangchen168/0430-comments
2024-05-02 03:03:53 +00:00
huyunhui
e97ba4ab98 Implement rules for shared module in linter
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9L1NZ

Signed-off-by: huyunhui <huyunhui1@huawei.com>
Change-Id: I6be06ebe2d6ed2b06e21f8177e627636a46dab7a
2024-05-02 00:49:22 +08:00
ctw-ian
c61692ce13 Fix codecheck and ut of sendable
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9L63K

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: Ia127e60ac714bcedbf9455fd8353e69b0c045894
2024-05-01 17:40:47 +08:00
openharmony_ci
3e5e25da87
!361 [ArkTS][Linter] Implement arkts-sendable-imported-variables
Merge pull request !361 from ctw-ian/runle7_sendable
2024-04-30 14:20:59 +00:00
openharmony_ci
14bfb6762a
!359 混淆白名单支持通配符
Merge pull request !359 from zengyuan/whitelist
2024-04-30 14:17:46 +00:00
openharmony_ci
9ed1720e40
!348 Add test cases for 10 features of typescript 5.2
Merge pull request !348 from liujia178/ts5.2_test
2024-04-30 14:16:43 +00:00
zengyuan
98553fc114 Support for wildcard usage in obfuscation whitelist
Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I9IQTS

Signed-off-by: zengyuan <zengyuan22@huawei.com>
Change-Id: I7aba39a3479135d5add313f09a895d29344c4f63
2024-04-30 19:03:11 +08:00
zhangchen
ebaf405faa Support the useTsHar for obfuscation [Tsc]
Issue: https://gitee.com/openharmony/developtools_ace_ets2bundle/issues/I9K6H9

Signed-off-by: zhangchen <zhangchen168@huawei.com>
Change-Id: If0ddedb1fe4bc16cf9103eb433918a127a6bdf8e
2024-04-30 17:31:47 +08:00
ctw-ian
82d66f6673 [ArkTS][Linter] Implement arkts-sendable-imported-variables
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9K6I6

Signed-off-by: ctw-ian <chentingwei2@huawei.com>
Change-Id: I918856114079de858161dbc405dfe83fa64dc76b
2024-04-30 16:38:49 +08:00
openharmony_ci
dd66991b62
!356 [ArkTsLinter] arts-no-side-effect-import
Merge pull request !356 from hid20141227/master
2024-04-30 06:13:44 +00:00
liujia178
4167c1d483 add test case for typescript 5.2
Issue: https://gitee.com/openharmony/third_party_typescript/issues/I9HHG7
Test: ts extra test

Signed-off-by: liujia178 <liujia178@huawei.com>
2024-04-30 13:49:52 +08:00
openharmony_ci
82f8ee97c1
!357 [ArkTS Linter] Relax linter rule arkts-sendable-as-expr for The object, Object and any type
Merge pull request !357 from lijunru/0425
2024-04-30 05:13:22 +00:00
openharmony_ci
562134b2ee
!362 Support arkguard for ts_extra_tests by --enable-arkguard
Merge pull request !362 from pangdesong/master
2024-04-29 14:58:16 +00:00
hid20141227
5fc907de6f Add arkts-no-side-effects-imports
Issue: I9JEGJ
Test: linter test

Signed-off-by: hid20141227 <yangrui185@huawei.com>
Change-Id: I04768483ef1bae32caeb50170b4c2b611e3d2744
2024-04-29 22:38:38 +08:00
lijunru
dbcf644ed8 [ArkTS Linter] Relax linter rule arkts-sendable-as-expr for The object, Object and any type
Issue: https://gitee.com/openharmony/third_party_typescript/issues/I9JQ5G

Test: tsc test & arkTStest & issue_cookbook & apps test

Signed-off-by: lijunru <lijunru9@huawei.com>
2024-04-29 22:33:36 +08:00
pangdesong
001760bf5b Bugfix for support target directory
Change-Id: I3678e8aefa3cc79482739cfc40b4b3b9c4de4848
Signed-off-by: pangdesong <pangdesong@huawei.com>
2024-04-29 21:19:54 +08:00
pangdesong
7d42127184 Merge branch 'pr_362' into HEAD
Change-Id: I88432c869e85c778fdb06152fcb8aaf287d402e0
Signed-off-by: pangdesong <pangdesong@huawei.com>
2024-04-29 20:58:52 +08:00
openharmony_ci
314051b89e
!318 Add test cases for 4 features of typescript 5.1
Merge pull request !318 from liujia178/ts5.1_test
2024-04-29 07:51:50 +00:00
pangdesong
1200bc5521 Support arkguard for ts_extra_tests by --enable-arkguard
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9KNVU

Change-Id: Ia08514ebf8913253fc5c0de6761a2a269054621c

Signed-off-by: pangdesong <pangdesong@huawei.com>
Change-Id: Idd40353ad2da5196c7ac1d7fe4d01de4271b8553
2024-04-29 15:11:53 +08:00
openharmony_ci
81c040589b
!305 Add test cases for 7 features of typescript 5.0
Merge pull request !305 from liujia178/ts5.0_test_0314
2024-04-29 06:27:10 +00:00
liujia178
cdd4852c93 Add test case for 4 features of Typescript 5.1
Issue: https://gitee.com/openharmony/third_party_typescript/issues/I9HHJ3
Test: ts extra test

Signed-off-by: liujia178 <liujia178@huawei.com>
2024-04-29 10:29:51 +08:00
liujia178
52ee9575e4 add TS5.0's feature
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I9HHI4
Test:ts extra test

Signed-off-by: liujia178 <liujia178@huawei.com>
2024-04-28 21:15:12 +08:00
openharmony_ci
81c29d970d
!283 Perform strict and non-strict typecheck based on a same program
Merge pull request !283 from chenqy930/create-strict-typechecker
2024-04-28 03:56:17 +00:00
c00513733
2de647afc2 Perform strict and non-strict typecheck based on a same program
Issue:https://gitee.com/openharmony/third_party_typescript/issues/I943QD
Test: tsc tests

Signed-off-by: c00513733 <chenqiuyao@huawei.com>
Change-Id: Ib9ba40741738db49d0bf53e9b52d9a4eaf473876
2024-04-27 18:19:51 +08:00
openharmony_ci
e62e6ec119
!358 Fixed the problem of incorrect increment result caused by switching arktsversion through sync but not cleaning.[typescript 1/2]
Merge pull request !358 from ironrain/work_0425_arktsversion
2024-04-26 13:55:26 +00:00
lizhonghan
1cf56e3ae3 Fixed the problem of incorrect increment result caused by switching arktsversion through sync but not cleaning.[typescript 1/2]
Issue: https://gitee.com/openharmony/third_party_typescript/issues/I9JKIH

internal: None

Change-Id: If65787c64552d0c3b4f978db3a531240d6251b5a
Signed-off-by: lizhonghan <lizhonghan1@huawei.com>
2024-04-25 20:28:26 +08:00
openharmony_ci
c5c31ffa75
!346 修复错误建立etscomponentexpression & extend/styles内不识别statestyles
Merge pull request !346 from houhaoyu/master
2024-04-18 13:06:14 +00:00
openharmony_ci
0b678c3545
!329 Fix Lexical environment is already suspended
Merge pull request !329 from 肖培阳/CommentOutLexEnvAssert
2024-04-18 11:17:00 +00:00
openharmony_ci
a5c14728e0
!344 add_readonly_for_prop_with_ParamDecorator_and_without_OnceDecorator
Merge pull request !344 from liyancheng/readonly_processing
2024-04-18 08:30:50 +00:00
openharmony_ci
7f692ca58a
!347 [ArkTS Linter] Requirement ArkUI decorators @Param and @Event do not need to be initialized
Merge pull request !347 from ironrain/dev_param_event
2024-04-18 08:29:56 +00:00
lizhonghan
021ea9e9c5 [ArkTS Linter] Requirement ArkUI decorators @Param and @Event do not need to be initialized.
Issue: https://gitee.com/openharmony/third_party_typescript/issues/I9GLP8
Test: tsc tests

requirement:
1. ArkUI decorators @Param and @Event do not need to be initialized.

internal: #16652
Change-Id: I1ba237549269d738425d436f5d8afce55c124b00
Signed-off-by: lizhonghan <lizhonghan1@huawei.com>
2024-04-18 12:01:47 +08:00
liyancheng
ed4d8dbff5 Add readonly for prop with ParamDecorator and without OnceDecorator
Issue: Add readonly for prop with ParamDecorator and without OnceDecorator
Test: test the listed testing cases

Signed-off-by: liyancheng <liyancheng2@huawei.com>
Change-Id: I6f460d90bddea082275c27aca2936b3504f606fc
2024-04-18 12:01:23 +08:00