openharmony_sig_ci
6cb333d8ef
!1 add oat.xml
...
Merge pull request !1 from lihong/master
OpenHarmony-v3.1-Release
OpenHarmony-v3.1.1-Release
OpenHarmony-v3.1.2-Release
OpenHarmony-v3.1.3-Release
OpenHarmony-v3.1.4-Release
OpenHarmony-v3.1.5-Release
OpenHarmony-v3.1.6-Release
OpenHarmony-v3.1.7-Release
OpenHarmony-v3.2-Beta1
OpenHarmony-v3.2-Beta2
OpenHarmony-v3.2-Beta3
OpenHarmony-v3.2-Beta4
OpenHarmony-v3.2-Beta5
OpenHarmony-v3.2-Release
OpenHarmony-v3.2.1-Release
OpenHarmony-v3.2.2-Release
OpenHarmony-v3.2.3-Release
OpenHarmony-v3.2.4-Release
OpenHarmony-v4.0-Beta1
OpenHarmony-v4.0-Beta2
2022-02-07 11:37:23 +00:00
lihong
42a46c92c8
lihong67@huawei.com
...
add oat.xml
Signed-off-by: lihong <lihong67@huawei.com >
2022-02-07 19:18:31 +08:00
James Henry
3c7cacad75
chore: publish v4.8.0
2020-11-16 18:02:15 +00:00
Daniil Dubrava
417d1b2cf7
fix(eslint-plugin): [consistent-type-definitions] remove fixer when the interface is within a global module declaration ( #2739 )
2020-11-14 12:24:52 -08:00
Brad Zacher
75aa52dafb
feat(typescript-estree): add parseWithNodeMaps API ( #2760 )
...
Ref: https://github.com/prettier/prettier/pull/9636
This allows consumers to reach into the underlying TS AST in cases where our AST doesn't quite solve the use case.
Motivating example:
We don't (currently) error for code unless TS itself throws an error.
TS is _very_ permissive, but that leads to some weird (and invalid) code we don't error for, and don't include in the AST.
For example - this is _syntactically_ valid in the TS parser, but they emit a _semantic_ error:
```ts
@decorator
enum Foo {
A = 1
}
```
As it's not a valid place for a decorator - we do not emit its information in the ESTree AST, but as TS treats this as a semantic error - it is parse-time valid.
This creates weird states for consumers wherein they cannot see a decorator exists there, which can cause them to ignore it entirely.
For linting - this isn't a problem. But for something like prettier - this means that they'll delete the decorator at format time!
This is very bad.
Until we implement a solution for #1852 - this will allow consumers to bridge the gap themselves.
2020-11-12 13:01:13 -08:00
Hailey
a9c4118947
fix(eslint-plugin): [no-unsafe-member-access] ignore MemberExpression's whose parents are either TSClassImplements or TSInterfaceHeritage ( #2753 )
2020-11-10 22:36:13 -08:00
Sosuke Suzuki
6ef27c9eba
test(typescript-estree): [babel alignment] remove now unnecessary AST transformation for ImportDeclaration ( #2754 )
2020-11-10 21:46:36 -08:00
Brad Zacher
10adc4887b
docs: correct rule name in changelog
2020-11-10 10:39:35 -08:00
Brad Zacher
846ec90f38
docs: correct rule name in changelog
2020-11-10 10:39:05 -08:00
James Henry
bb013d939c
chore: publish v4.7.0
2020-11-09 18:02:53 +00:00
Brad Zacher
6ea09eb38f
feat: support TS4.1 features ( #2748 )
...
Fixes #2583
- Adds AST for Key Remapping in Mapped Types and Template Literal Types
- Adds visitor keys for the above
- Adds scope manager support for the above (just tests were required as it all is pretty simple)
- Regenerates the scope-manager lib types
2020-11-08 13:41:48 -08:00
Oleksandr T
af91cb10e4
fix(eslint-plugin): [array-type] parenthesize ReadonlyArray fix ( #2747 )
2020-11-08 13:10:01 -08:00
Michaël De Boey
bb1ade839c
docs(eslint-plugin): Move no-implied-eval & no-throw-literal to Extension Rules ( #2745 )
2020-11-08 13:01:55 -08:00
Daniil Dubrava
f4f336bfc1
fix(eslint-plugin): [no-extra-non-null-assertion] false positive with non-nullable computed key ( #2737 )
2020-11-04 17:28:04 -08:00
Nikita Stefaniak
c4d4d82cf5
feat(eslint-plugin): add rule no-void-expression ( #2605 )
2020-11-02 15:15:27 -08:00
James Henry
fd40e5bd8e
chore: publish v4.6.1
2020-11-02 18:02:36 +00:00
Timo Zander
12cfbbc563
fix(eslint-plugin): [consistent-indexed-object-style] fix wrong autofix behaviour with generics ( #2722 )
2020-11-01 11:25:48 -08:00
cherryblossom000
eb971aa05d
fix(eslint-plugin): [no-shadow] ignore global module augmentation ( #2729 )
2020-11-01 11:11:42 -08:00
Max Coplan
6478cdb9c7
docs(eslint-plugin): [consistent-type-imports] note that it can't be used for decorator metadata ( #2716 )
2020-11-01 11:06:37 -08:00
James Henry
e6d543a48a
chore: publish v4.6.0
2020-10-26 17:02:33 +00:00
Josh Goldberg
1cbe5a4d72
feat(eslint-plugin): add no-unnecessary-type-constraint rule ( #2516 )
...
* feat(eslint-plugin): add no-unnecessary-type-constraint rule
* Inlined report
* Improved message and removed type checker
* Stop testing with type info
2020-10-25 20:09:04 -07:00
Jonas
002d705ed4
feat(eslint-plugin): [ban-types] support banning [] ( #2704 )
...
fix #2582
2020-10-25 15:30:41 -07:00
Oleksandr T
b725b56211
fix(eslint-plugin): [method-signature-style] correct fixer for overloads in an object literal type ( #2708 )
2020-10-25 14:58:27 -07:00
kangdaehoon
a247cd6ded
fix(eslint-plugin): [prefer-string-starts-ends-with] Check negative indices in the second position for slice ( #2696 )
2020-10-25 14:57:35 -07:00
doumart
586c4af8a9
feat(eslint-plugin): add extension rule space-infix-ops ( #2593 )
2020-10-24 11:28:19 -07:00
Moulik Aggarwal
948130e7e8
fix(eslint-plugin): [method-signature-style] don't auto-fix interfaces within namespaces ( #2678 )
2020-10-19 10:09:57 -07:00
James Henry
ad1dfb5fd3
chore: publish v4.5.0
2020-10-19 17:02:41 +00:00
eyelidlessness
abdb2bc487
feat(eslint-plugin): [prefer-readonly-parameter-types] add ignoreInferredTypes option ( #2668 )
2020-10-18 13:05:32 -07:00
Sunghyun Cho
4578d04d09
feat(eslint-plugin): [restrict-plus-operands] add intersection type determination logic ( #2628 )
2020-10-18 13:03:20 -07:00
Alex T
e9265301a4
feat(eslint-plugin): [dot-notation] add allowProtectedClassPropertyAccess option ( #2622 )
2020-10-18 12:49:58 -07:00
Jonas
52a6665c95
fix(eslint-plugin): [array-type] fix issues with readonly option ( #2667 )
2020-10-18 12:38:30 -07:00
Mikhail Bodrov
5a5924b443
fix(parser): minor fix regexp, map-filter to reduce ( #2684 )
2020-10-18 12:23:33 -07:00
Krisztián Balla
a9c0462a7b
fix(eslint-plugin): [no-invalid-this] allow "this" in class property definitions ( #2685 )
2020-10-18 12:17:03 -07:00
Jonas
4c01eaff24
fix(eslint-plugin): [no-misused-promises] False negative in LogicalExpression ( #2682 )
...
Fix #2544
2020-10-18 12:08:09 -07:00
inglec-arista
7d1f4b67f1
fix(eslint-plugin): [lines-between-class-members] fix typo in schema ( #2681 )
2020-10-18 12:01:01 -07:00
thomas michael wallace
ac55e5e0b8
fix(eslint-plugin): [no-unnecessary-type-assertion] correct fixer for vue files ( #2680 )
2020-10-18 12:00:30 -07:00
thomas michael wallace
3f20973e54
fix(eslint-plugin): [naming-convention] check bodyless function parameters ( #2675 )
2020-10-18 11:50:06 -07:00
thomas michael wallace
db1fc7c7c1
fix(eslint-plugin): [return-await] do not auto-fix when type is any/unknown ( #2671 )
2020-10-18 11:48:42 -07:00
Brad Zacher
9f1ed91a8e
feat(typescript-estree): add flag EXPERIMENTAL_useSourceOfProjectReferenceRedirect ( #2669 )
2020-10-15 11:00:57 -07:00
koooge
2dafcd50aa
chore(parser): clean up some unused code ( #2674 )
2020-10-15 10:43:47 -07:00
James Henry
ab43335caf
chore: publish v4.4.1
2020-10-12 17:02:08 +00:00
Govind S
43bb88ee77
fix(eslint-plugin): [ban-ts-comment] support block comments ( #2644 )
2020-10-11 17:25:48 -07:00
mbpreble
d3edfde5c8
fix(eslint-plugin): [no-unused-vars] fix false positives for duplicated names in namespaces ( #2659 )
2020-10-11 17:00:33 -07:00
Michael Kim
19b8ec57d6
fix(eslint-plugin): [ban-types] allow banning types with specific parameters ( #2662 )
2020-10-11 16:58:16 -07:00
Sosuke Suzuki
416a32cfd0
test(typescript-estree): remove babel-parser plugins that are enabled by default ( #2656 )
2020-10-11 16:56:42 -07:00
YeonJuan
a8ed66bae9
fix(eslint-plugin): [consistent-type-assertions] check type assertion in jsx props ( #2653 )
2020-10-11 16:55:33 -07:00
Jonas
284c95ddc0
fix(eslint-plugin): [no-throw-literal] false positive with logical expressions ( #2645 )
2020-10-11 16:54:12 -07:00
Jonathan Bouchard
36f8ef7eec
fix(eslint-plugin): [no-use-before-define] correctly handle typeof type references ( #2623 )
2020-10-11 16:38:35 -07:00
Sosuke Suzuki
a1d1e2800c
docs(typescript-estree): remove defunct Build/Test Commands from README ( #2650 )
2020-10-08 09:56:36 -07:00
Sosuke Suzuki
7a01c68935
docs(typescript-estree): add the link for AST Alignment Tests ( #2649 )
2020-10-08 09:56:08 -07:00