File tree Expand file tree Collapse file tree 6 files changed +39
-34
lines changed Expand file tree Collapse file tree 6 files changed +39
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import eslint from "@eslint/js" ;
2
+ import globals from "globals" ;
3
+ import tseslint from "typescript-eslint" ;
4
+
5
+ export default tseslint . config (
6
+ eslint . configs . recommended ,
7
+ ...tseslint . configs . recommended ,
8
+ ...tseslint . configs . recommendedTypeChecked ,
9
+ {
10
+ languageOptions : {
11
+ globals : {
12
+ ...globals . browser ,
13
+ sap : "readonly"
14
+ } ,
15
+ ecmaVersion : 2023 ,
16
+ parserOptions : {
17
+ project : true ,
18
+ tsconfigRootDir : import . meta. dirname
19
+ }
20
+ }
21
+ } ,
22
+ {
23
+ ignores : [ "eslint.config.mjs" ]
24
+ }
25
+ ) ;
Original file line number Diff line number Diff line change 17
17
"url" : " https://github.com/SAP-samples/ui5-typescript-helloworld.git"
18
18
},
19
19
"devDependencies" : {
20
- "@types/openui5" : " 1.116.1 " ,
21
- "@typescript-eslint/eslint-plugin " : " ^6.3.0 " ,
22
- "@typescript- eslint/parser " : " ^6.3 .0" ,
23
- "@ui5/cli " : " ^3 .4.0" ,
24
- "eslint " : " ^8.46 .0" ,
25
- "typescript" : " ^5.1.6 " ,
26
- "ui5-middleware-livereload" : " ^3.0.0 " ,
27
- "ui5-middleware-simpleproxy" : " ^3.0.0 " ,
28
- "ui5-tooling-transpile" : " ^3.0.1 "
20
+ "@types/openui5" : " 1.127.0 " ,
21
+ "@ui5/cli " : " ^4 " ,
22
+ " eslint" : " ^9.10 .0" ,
23
+ "typescript-eslint " : " ^8 .4.0" ,
24
+ "globals " : " ^15.9 .0" ,
25
+ "typescript" : " ^5.6.2 " ,
26
+ "ui5-middleware-livereload" : " ^3" ,
27
+ "ui5-middleware-simpleproxy" : " ^3" ,
28
+ "ui5-tooling-transpile" : " ^3"
29
29
}
30
30
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "target" : " es2022 " ,
3
+ "target" : " es2023 " ,
4
4
"module" : " es2022" ,
5
5
"moduleResolution" : " node" ,
6
6
"skipLibCheck" : true ,
Original file line number Diff line number Diff line change 1
- specVersion : " 3 .0"
1
+ specVersion : " 4 .0"
2
2
metadata :
3
3
name : ui5.typescript.helloworld
4
4
type : application
@@ -8,7 +8,7 @@ resources:
8
8
webapp : dist
9
9
framework :
10
10
name : OpenUI5
11
- version : " 1.116 .0"
11
+ version : " 1.127 .0"
12
12
libraries :
13
13
- name : sap.m
14
14
- name : sap.ui.core
Original file line number Diff line number Diff line change 1
- specVersion : " 3 .0"
1
+ specVersion : " 4 .0"
2
2
metadata :
3
3
name : ui5.typescript.helloworld
4
4
type : application
5
5
framework :
6
6
name : OpenUI5
7
- version : " 1.116 .0"
7
+ version : " 1.127 .0"
8
8
libraries :
9
9
- name : sap.m
10
10
- name : sap.ui.core
You can’t perform that action at this time.
0 commit comments