fix: thuang-fix-tsconfig-path (#2372)

Thanks so much for the quick review, Bruce!!
This commit is contained in:
Timmy Huang
2021-08-10 18:38:33 -07:00
committed by GitHub
parent 26de334274
commit fc60b2acef

View File

@@ -37,7 +37,10 @@ module.exports = {
jsx: true,
generators: true,
},
project: "./tsconfig.json",
// (thuang): Pairing with `tsconfigRootDir`, which points to the directory
// of eslint.js
project: "../../tsconfig.json",
tsconfigRootDir: __dirname,
},
rules: {
"react/jsx-no-target-blank": "off",