UNPKG

@eagleoutice/flowr-dev

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

48 lines 2.85 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LintingRules = void 0; const deprecated_functions_1 = require("./rules/deprecated-functions"); const file_path_validity_1 = require("./rules/file-path-validity"); const absolute_path_1 = require("./rules/absolute-path"); const unused_definition_1 = require("./rules/unused-definition"); const dead_code_1 = require("./rules/dead-code"); const seeded_randomness_1 = require("./rules/seeded-randomness"); const naming_convention_1 = require("./rules/naming-convention"); const dataframe_access_validation_1 = require("./rules/dataframe-access-validation"); const useless_loop_1 = require("./rules/useless-loop"); const network_functions_1 = require("./rules/network-functions"); const stop_with_call_arg_1 = require("./rules/stop-with-call-arg"); const roxygen_arguments_1 = require("./rules/roxygen-arguments"); const problematic_inputs_1 = require("./rules/problematic-inputs"); const software_has_license_1 = require("./rules/software-has-license"); const software_has_tests_1 = require("./rules/software-has-tests"); const no_leaked_credentials_1 = require("./rules/no-leaked-credentials"); const undefined_symbol_1 = require("./rules/undefined-symbol"); const syntactically_valid_1 = require("./rules/syntactically-valid"); const unclosed_connection_1 = require("./rules/unclosed-connection"); /** * The registry of currently supported linting rules. * A linting rule can be executed on a dataflow pipeline result using {@link executeLintingRule}. */ exports.LintingRules = { 'deprecated-functions': deprecated_functions_1.DEPRECATED_FUNCTIONS, 'file-path-validity': file_path_validity_1.FILE_PATH_VALIDITY, 'seeded-randomness': seeded_randomness_1.SEEDED_RANDOMNESS, 'absolute-file-paths': absolute_path_1.ABSOLUTE_PATH, 'unused-definitions': unused_definition_1.UNUSED_DEFINITION, 'naming-convention': naming_convention_1.NAMING_CONVENTION, 'network-functions': network_functions_1.NETWORK_FUNCTIONS, 'dataframe-access-validation': dataframe_access_validation_1.DATA_FRAME_ACCESS_VALIDATION, 'dead-code': dead_code_1.DEAD_CODE, 'useless-loop': useless_loop_1.USELESS_LOOP, 'problematic-inputs': problematic_inputs_1.PROBLEMATIC_INPUTS, 'stop-call': stop_with_call_arg_1.STOP_WITH_CALL_ARG, 'roxygen-arguments': roxygen_arguments_1.ROXYGEN_ARGS, 'software-has-license': software_has_license_1.SOFTWARE_HAS_LICENSE, 'software-has-tests': software_has_tests_1.SOFTWARE_HAS_TESTS, 'no-leaked-credentials': no_leaked_credentials_1.NO_LEAKED_CREDENTIALS, 'undefined-symbol': undefined_symbol_1.UNDEFINED_SYMBOL, 'syntactically-valid': syntactically_valid_1.SYNTACTICALLY_VALID, 'unclosed-connection': unclosed_connection_1.UNCLOSED_CONNECTION }; //# sourceMappingURL=linter-rules.js.map