@rushstack/eslint-plugin
Version:
An ESLint plugin providing supplementary rules for use with the @rushstack/eslint-config package
36 lines • 1.95 kB
JavaScript
;
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
const hoist_jest_mock_1 = require("./hoist-jest-mock");
const no_backslash_imports_1 = require("./no-backslash-imports");
const no_external_local_imports_1 = require("./no-external-local-imports");
const no_new_null_1 = require("./no-new-null");
const no_null_1 = require("./no-null");
const no_transitive_dependency_imports_1 = require("./no-transitive-dependency-imports");
const no_untyped_underscore_1 = require("./no-untyped-underscore");
const normalized_imports_1 = require("./normalized-imports");
const typedef_var_1 = require("./typedef-var");
const plugin = {
rules: {
// Full name: "@rushstack/hoist-jest-mock"
'hoist-jest-mock': hoist_jest_mock_1.hoistJestMock,
// Full name: "@rushstack/no-backslash-imports"
'no-backslash-imports': no_backslash_imports_1.noBackslashImportsRule,
// Full name: "@rushstack/no-external-local-imports"
'no-external-local-imports': no_external_local_imports_1.noExternalLocalImportsRule,
// Full name: "@rushstack/no-new-null"
'no-new-null': no_new_null_1.noNewNullRule,
// Full name: "@rushstack/no-null"
'no-null': no_null_1.noNullRule,
// Full name: "@rushstack/no-transitive-dependency-imports"
'no-transitive-dependency-imports': no_transitive_dependency_imports_1.noTransitiveDependencyImportsRule,
// Full name: "@rushstack/no-untyped-underscore"
'no-untyped-underscore': no_untyped_underscore_1.noUntypedUnderscoreRule,
// Full name: "@rushstack/normalized-imports"
'normalized-imports': normalized_imports_1.normalizedImportsRule,
// Full name: "@rushstack/typedef-var"
'typedef-var': typedef_var_1.typedefVar
}
};
module.exports = plugin;
//# sourceMappingURL=index.js.map