Skip to content

Commit afbc2d0

Browse files
authored
Remove unused react-internal/invariant-args ESLint rule. (#22778)
1 parent ca94e26 commit afbc2d0

File tree

8 files changed

+0
-202
lines changed

8 files changed

+0
-202
lines changed

.eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ module.exports = {
113113
{isProductionUserAppCode: true},
114114
],
115115
'react-internal/no-to-warn-dev-within-to-throw': ERROR,
116-
'react-internal/invariant-args': ERROR,
117116
'react-internal/warning-args': ERROR,
118117
'react-internal/no-production-logging': ERROR,
119118
'react-internal/no-cross-fork-imports': ERROR,

packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate/InitializeNativeFabricUIManager.js

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
/* eslint-disable react-internal/invariant-args */
9-
108
'use strict';
119

1210
// Mock of the Native Hooks

packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate/ReactNativeViewConfigRegistry.js

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
* @flow strict-local
88
*/
99

10-
/* eslint-disable react-internal/invariant-args */
11-
1210
'use strict';
1311

1412
import type {

packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate/UIManager.js

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
/* eslint-disable react-internal/invariant-args */
9-
108
'use strict';
119

1210
// Mock of the Native Hooks

scripts/eslint-rules/__tests__/invariant-args-test.internal.js

-83
This file was deleted.

scripts/eslint-rules/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ module.exports = {
55
'no-primitive-constructors': require('./no-primitive-constructors'),
66
'no-to-warn-dev-within-to-throw': require('./no-to-warn-dev-within-to-throw'),
77
'warning-args': require('./warning-args'),
8-
'invariant-args': require('./invariant-args'),
98
'prod-error-codes': require('./prod-error-codes'),
109
'no-production-logging': require('./no-production-logging'),
1110
'no-cross-fork-imports': require('./no-cross-fork-imports'),

scripts/eslint-rules/invariant-args.js

-109
This file was deleted.

scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* @flow strict-local
99
*/
1010

11-
/* eslint-disable react-internal/invariant-args */
12-
1311
'use strict';
1412

1513
import {type ViewConfig} from './ReactNativeTypes';

0 commit comments

Comments
 (0)