Commit 1d027ba
committed
ESlintのparsing errorとlint実行時のファイルパスエラー(...functions/functilns/tsconfig.json)を修正
functions内の.eslintrc.jsにて、parserOptionsのprojectパスを修正。相対パスじゃないとエラーになった。
parserOptions: {
// これによってfunctions内のエラーは治った(プロジェクトルートを使う"tsconfig.json"のようにするとlint実行時にエラー)
project: ["./tsconfig.json", "./functions/tsconfig.json"],
sourceType: "module",
},1 parent da6ede1 commit 1d027ba
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments