Skip to content

Commit

Permalink
Merge pull request #1 from facebook/master
Browse files Browse the repository at this point in the history
Remove project property from @typescript-eslint/parser options (facebook#6701)
  • Loading branch information
Idered committed Apr 1, 2019
2 parents 0d05320 + 1a61db5 commit 076eda9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@
// To use them, explicitly reference them, e.g. `window.name` or `window.status`.
const restrictedGlobals = require('confusing-browser-globals');

// The following is copied from `react-scripts/config/paths.js`.
const path = require('path');
const fs = require('fs');
// Make sure any symlinks in the project folder are resolved:
// https://github.com/facebook/create-react-app/issues/637
const appDirectory = fs.realpathSync(process.cwd());
const resolveApp = relativePath => path.resolve(appDirectory, relativePath);
const projectRootPath = resolveApp('.');
const tsConfigPath = resolveApp('tsconfig.json');

module.exports = {
root: true,

Expand Down Expand Up @@ -73,8 +63,6 @@ module.exports = {
},

// typescript-eslint specific options
project: tsConfigPath,
tsconfigRootDir: projectRootPath,
warnOnUnsupportedTypeScriptVersion: true,
},
plugins: ['@typescript-eslint'],
Expand Down

0 comments on commit 076eda9

Please sign in to comment.