Skip to content

Commit 2976251

Browse files
committed
merge chenshuai2144-patch-1
github is down
2 parents 66a019c + 3f5e83f commit 2976251

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

example/src/pages/DashboardAnalysis/components/Charts/bizcharts.d.ts

-3
This file was deleted.

example/tsconfig.json

+3-13
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,9 @@
1818
"experimentalDecorators": true,
1919
"strict": true,
2020
"paths": {
21-
"@/*": ["./src/*"]
21+
"@/*": ["./src/*"],
22+
"@@/*": ["./src/.umi/*"]
2223
}
2324
},
24-
"exclude": [
25-
"node_modules",
26-
"build",
27-
"dist",
28-
"scripts",
29-
"acceptance-tests",
30-
"webpack",
31-
"jest",
32-
"src/setupTests.ts",
33-
"tslint:latest",
34-
"tslint-config-prettier"
35-
]
25+
"exclude": ["node_modules", "build", "dist", "scripts", "src/.umi/*", "webpack", "jest"]
3626
}

src/eslint.ts

+3
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,7 @@ module.exports = {
109109
'import/resolver': { node: { extensions: ['.js', '.jsx', '.ts', '.tsx', '.d.ts'] } },
110110
polyfills: ['fetch', 'Promise', 'URL', 'object-assign'],
111111
},
112+
parserOptions: {
113+
project: './tsconfig.json',
114+
},
112115
};

0 commit comments

Comments
 (0)