Skip to content

Commit

Permalink
Revert "update code (#2)"
Browse files Browse the repository at this point in the history
This reverts commit 203548c.
  • Loading branch information
liamfend authored Oct 13, 2020
1 parent 203548c commit b01f224
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
packages/ @ianschmitz @iansu @mrmckeb @petetnt
docusaurus/ @ianschmitz @iansu @mrmckeb
docusaurus/ @amyrlam @iansu
1 change: 0 additions & 1 deletion packages/eslint-config-react-app/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ module.exports = {
rules: {
'react/jsx-uses-react': 'warn',
'react/jsx-uses-vars': 'warn',
'react/react-in-jsx-scope': 'error',
},
};
1 change: 1 addition & 0 deletions packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ module.exports = {
'react/no-direct-mutation-state': 'warn',
'react/no-is-mounted': 'warn',
'react/no-typos': 'error',
'react/react-in-jsx-scope': 'error',
'react/require-render-return': 'error',
'react/style-prop-object': 'warn',

Expand Down
1 change: 0 additions & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ module.exports = function (webpackEnv) {
{
options: {
cache: true,
cwd: paths.appPath,
formatter: require.resolve('react-dev-utils/eslintFormatter'),
eslintPath: require.resolve('eslint'),
resolvePluginsRelativeTo: __dirname,
Expand Down

0 comments on commit b01f224

Please sign in to comment.