Skip to content

Commit 076eda9

Browse files
authored
Merge pull request #1 from facebook/master
Remove project property from @typescript-eslint/parser options (facebook#6701)
2 parents 0d05320 + 1a61db5 commit 076eda9

File tree

1 file changed

+0
-12
lines changed
  • packages/eslint-config-react-app

1 file changed

+0
-12
lines changed

packages/eslint-config-react-app/index.js

-12
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@
2323
// To use them, explicitly reference them, e.g. `window.name` or `window.status`.
2424
const restrictedGlobals = require('confusing-browser-globals');
2525

26-
// The following is copied from `react-scripts/config/paths.js`.
27-
const path = require('path');
28-
const fs = require('fs');
29-
// Make sure any symlinks in the project folder are resolved:
30-
// https://github.com/facebook/create-react-app/issues/637
31-
const appDirectory = fs.realpathSync(process.cwd());
32-
const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
33-
const projectRootPath = resolveApp('.');
34-
const tsConfigPath = resolveApp('tsconfig.json');
35-
3626
module.exports = {
3727
root: true,
3828

@@ -73,8 +63,6 @@ module.exports = {
7363
},
7464

7565
// typescript-eslint specific options
76-
project: tsConfigPath,
77-
tsconfigRootDir: projectRootPath,
7866
warnOnUnsupportedTypeScriptVersion: true,
7967
},
8068
plugins: ['@typescript-eslint'],

0 commit comments

Comments
 (0)