Skip to content

Commit

Permalink
Remove unused react-internal/invariant-args ESLint rule. (#22778)
Browse files Browse the repository at this point in the history
  • Loading branch information
elas7 authored Nov 16, 2021
1 parent ca94e26 commit afbc2d0
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 202 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ module.exports = {
{isProductionUserAppCode: true},
],
'react-internal/no-to-warn-dev-within-to-throw': ERROR,
'react-internal/invariant-args': ERROR,
'react-internal/warning-args': ERROR,
'react-internal/no-production-logging': ERROR,
'react-internal/no-cross-fork-imports': ERROR,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

/* eslint-disable react-internal/invariant-args */

'use strict';

// Mock of the Native Hooks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
* @flow strict-local
*/

/* eslint-disable react-internal/invariant-args */

'use strict';

import type {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

/* eslint-disable react-internal/invariant-args */

'use strict';

// Mock of the Native Hooks
Expand Down
83 changes: 0 additions & 83 deletions scripts/eslint-rules/__tests__/invariant-args-test.internal.js

This file was deleted.

1 change: 0 additions & 1 deletion scripts/eslint-rules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = {
'no-primitive-constructors': require('./no-primitive-constructors'),
'no-to-warn-dev-within-to-throw': require('./no-to-warn-dev-within-to-throw'),
'warning-args': require('./warning-args'),
'invariant-args': require('./invariant-args'),
'prod-error-codes': require('./prod-error-codes'),
'no-production-logging': require('./no-production-logging'),
'no-cross-fork-imports': require('./no-cross-fork-imports'),
Expand Down
109 changes: 0 additions & 109 deletions scripts/eslint-rules/invariant-args.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
* @flow strict-local
*/

/* eslint-disable react-internal/invariant-args */

'use strict';

import {type ViewConfig} from './ReactNativeTypes';
Expand Down

0 comments on commit afbc2d0

Please sign in to comment.