Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 203548c

Browse filesBrowse files
liamfendiansumrmckeb
authored
update code (#2)
* Update CODEOWNERS * fix: resolve ESLint config from appPath (facebook#9683) Co-authored-by: Ian Sutherland <ian@iansutherland.ca> Co-authored-by: Brody McKee <mrmckeb@users.noreply.github.com>
1 parent bd63ae1 commit 203548c
Copy full SHA for 203548c

File tree

Expand file treeCollapse file tree

4 files changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+3
-2
lines changed

‎.github/CODEOWNERS

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
packages/ @ianschmitz @iansu @mrmckeb @petetnt
2-
docusaurus/ @amyrlam @iansu
2+
docusaurus/ @ianschmitz @iansu @mrmckeb

‎packages/eslint-config-react-app/base.js

Copy file name to clipboardExpand all lines: packages/eslint-config-react-app/base.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ module.exports = {
4343
rules: {
4444
'react/jsx-uses-react': 'warn',
4545
'react/jsx-uses-vars': 'warn',
46+
'react/react-in-jsx-scope': 'error',
4647
},
4748
};

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

Copy file name to clipboardExpand all lines: packages/eslint-config-react-app/index.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ module.exports = {
253253
'react/no-direct-mutation-state': 'warn',
254254
'react/no-is-mounted': 'warn',
255255
'react/no-typos': 'error',
256-
'react/react-in-jsx-scope': 'error',
257256
'react/require-render-return': 'error',
258257
'react/style-prop-object': 'warn',
259258

‎packages/react-scripts/config/webpack.config.js

Copy file name to clipboardExpand all lines: packages/react-scripts/config/webpack.config.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ module.exports = function (webpackEnv) {
361361
{
362362
options: {
363363
cache: true,
364+
cwd: paths.appPath,
364365
formatter: require.resolve('react-dev-utils/eslintFormatter'),
365366
eslintPath: require.resolve('eslint'),
366367
resolvePluginsRelativeTo: __dirname,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.