File tree Expand file tree Collapse file tree 6 files changed +42
-67
lines changed Expand file tree Collapse file tree 6 files changed +42
-67
lines changed Original file line number Diff line number Diff line change
1
+ # Node modules
1
2
node_modules /
2
- dist /
3
- lib /
4
- coverage /
5
- .vscode /
3
+
4
+ # Editor and IDE files
5
+ .vscode
6
+ .idea
7
+
8
+ # Build outputs
9
+ packages /taro-ui /lib /
10
+ packages /** /dist /
11
+
12
+ # Test files
13
+ coverage
14
+ jest.config.js
15
+ test /__mock__ /
16
+
17
+ # Others
6
18
.nyc_output /
7
19
git_stats /
8
20
yarn-offline /
9
21
docs /
10
- jest.config.js
11
- test /__mock__ /
Original file line number Diff line number Diff line change 1
1
{
2
+ "root" : true ,
2
3
"extends" : [
3
4
" o2team" ,
5
+ " eslint:recommended" ,
6
+ " plugin:import/errors" ,
7
+ " plugin:import/warnings" ,
4
8
" plugin:react/recommended" ,
9
+ " plugin:react-hooks/recommended" ,
5
10
" plugin:prettier/recommended"
6
11
],
7
- "parser" : " babel-eslint" ,
8
- "plugins" : [
9
- " react"
10
- ],
11
- "env" : {
12
- "jest" : true
13
- },
14
12
"rules" : {
15
13
"class-methods-use-this" : " off" ,
16
14
"prefer-rest-params" : " off" ,
65
63
],
66
64
"parser" : " @typescript-eslint/parser" ,
67
65
"plugins" : [
68
- " react" ,
69
66
" @typescript-eslint"
70
67
],
71
68
"extends" : [
72
69
" eslint:recommended" ,
73
70
" plugin:@typescript-eslint/eslint-recommended" ,
74
71
" plugin:@typescript-eslint/recommended" ,
72
+ " plugin:import/errors" ,
73
+ " plugin:import/warnings" ,
74
+ " plugin:import/typescript" ,
75
75
" plugin:react/recommended" ,
76
+ " plugin:react-hooks/recommended" ,
76
77
" plugin:prettier/recommended"
77
78
],
78
- "env" : {
79
- "jest" : true
80
- },
81
79
"rules" : {
82
80
"@typescript-eslint/no-explicit-any" : [
83
81
" off"
Original file line number Diff line number Diff line change
1
+ # Node modules
1
2
node_modules /
2
3
4
+ # Yarn and NPM files
3
5
yarn-error.log
4
6
package-lock.json
5
- project.config.json
6
7
8
+ # Template files
7
9
.temp
8
10
.DS_Store
9
- .vscode
10
11
.eslintcache
11
- .babelrc
12
-
13
- site /
14
- docs /h5 /
15
-
16
- coverage
17
12
13
+ # Editor and IDE files
14
+ .vscode
18
15
.idea
19
16
20
- # taro-ui outputs
21
- lib /
22
- dist /
17
+ # Build outputs
18
+ packages /taro-ui /lib /
19
+ packages /** /dist /
20
+
21
+ # Docs outputs
22
+ site /
23
+ docs /h5 /
23
24
24
- # rollup visualizer file
25
+ # Rollup visualizer file
25
26
stats.html
27
+
28
+ # Test files
29
+ coverage
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 57
57
"@types/webpack-env" : " ^1.13.6" ,
58
58
"babel-preset-taro" : " 3.0.0-beta.2" ,
59
59
"eslint-config-taro" : " 3.0.0-beta.2" ,
60
- "typescript" : " ~3.7.0 "
60
+ "typescript" : " ^3.8.3 "
61
61
}
62
62
}
You can’t perform that action at this time.
0 commit comments