File tree 1 file changed +0
-12
lines changed
packages/eslint-config-react-app
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 23
23
// To use them, explicitly reference them, e.g. `window.name` or `window.status`.
24
24
const restrictedGlobals = require ( 'confusing-browser-globals' ) ;
25
25
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
-
36
26
module . exports = {
37
27
root : true ,
38
28
@@ -73,8 +63,6 @@ module.exports = {
73
63
} ,
74
64
75
65
// typescript-eslint specific options
76
- project : tsConfigPath ,
77
- tsconfigRootDir : projectRootPath ,
78
66
warnOnUnsupportedTypeScriptVersion : true ,
79
67
} ,
80
68
plugins : [ '@typescript-eslint' ] ,
You can’t perform that action at this time.
0 commit comments