Skip to content

Commit 6d34281

Browse files
Copiloticlanton
andcommitted
Revert custom processor, prepare for eslint-plugin-package-json approach
Co-authored-by: iclanton <5010588+iclanton@users.noreply.github.com>
1 parent f7b3d59 commit 6d34281

2 files changed

Lines changed: 0 additions & 257 deletions

File tree

eslint/eslint-plugin/src/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// See LICENSE in the project root for license information.
33

44
import type { TSESLint } from '@typescript-eslint/utils';
5-
import type { Linter } from 'eslint';
65

76
import { hoistJestMock } from './hoist-jest-mock';
87
import { noBackslashImportsRule } from './no-backslash-imports';
@@ -15,11 +14,9 @@ import { normalizedImportsRule } from './normalized-imports';
1514
import { typedefVar } from './typedef-var';
1615
import { importRequiresChunkNameRule } from './import-requires-chunk-name';
1716
import { pairReactDomRenderUnmountRule } from './pair-react-dom-render-unmount';
18-
import { sortPackageJsonProcessor } from './sort-package-json';
1917

2018
interface IPlugin {
2119
rules: { [ruleName: string]: TSESLint.RuleModule<string, unknown[]> };
22-
processors: { [processorName: string]: Linter.Processor };
2320
}
2421

2522
const plugin: IPlugin = {
@@ -56,10 +53,6 @@ const plugin: IPlugin = {
5653

5754
// Full name: "@rushstack/pair-react-dom-render-unmount"
5855
'pair-react-dom-render-unmount': pairReactDomRenderUnmountRule
59-
},
60-
61-
processors: {
62-
'sort-package-json': sortPackageJsonProcessor
6356
}
6457
};
6558

eslint/eslint-plugin/src/sort-package-json.ts

Lines changed: 0 additions & 250 deletions
This file was deleted.

0 commit comments

Comments
 (0)