Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused "react-internal/invariant-args" ESLint rule. #22778

Merged
merged 1 commit into from Nov 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.js
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
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
Expand Up @@ -7,8 +7,6 @@
* @flow strict-local
*/

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

'use strict';

import type {
Expand Down
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
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.

Expand Up @@ -8,8 +8,6 @@
* @flow strict-local
*/

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

'use strict';

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