We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02acf5e commit f1297afCopy full SHA for f1297af
stack/eslint-plugin/src/index.ts
@@ -0,0 +1,19 @@
1
+// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2
+// See LICENSE in the project root for license information.
3
+
4
+import { TSESLint } from '@typescript-eslint/experimental-utils';
5
6
+import { noNullRule } from './no-null';
7
8
+interface IPlugin {
9
+ rules: { [ruleName: string]: TSESLint.RuleModule<string, unknown[]> };
10
+}
11
12
+const plugin: IPlugin = {
13
+ rules: {
14
+ // NOTE: The actual ESLint rule name will be "@rushstack/no-null".
15
+ 'no-null': noNullRule
16
+ }
17
+};
18
19
+export = plugin;
stack/eslint-plugin/src/no-null.ts
3.11 KB
0 commit comments