Skip to content

Commit cedc3dc

Browse files
author
Lauren Pothuru
committed
Adjust TS Parsing
1 parent 34b06b1 commit cedc3dc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

backend/.eslintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
"plugin:import/typescript"
1515
],
1616
"parserOptions": {
17-
"project": "./tsconfig.json",
18-
"tsconfigRootDir": "./"
17+
"project": "tsconfig.json"
1918
},
2019
"env": { "node": true },
2120
"rules": {
2221
"import/extensions": "off",
2322
"import/no-extraneous-dependencies": "off",
2423
"no-console": "off",
2524
"no-shadow": "off",
26-
"react/jsx-filename-extension": ["error", { "extensions": [".tsx"] }]
25+
"react/jsx-filename-extension": ["error", { "extensions": [".tsx"] }],
26+
"react/react-in-jsx-scope": "off"
2727
}
2828
}

backend/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"outDir": "dist",
1919
"rootDirs": ["./src", "../common"],
2020
"baseUrl": "./",
21-
"jsx": "react-jsx"
22-
21+
"jsx": "react-jsx"
2322
},
2423
"ts-node": {
2524
"files": true

0 commit comments

Comments
 (0)