UNPKG

@accordproject/concerto-linter-default-ruleset

Version:

Default ruleset for the Accord Project Concerto Linter

42 lines 2.3 kB
"use strict"; /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const namespace_version_1 = __importDefault(require("./namespace-version")); const pascal_case_declarations_1 = __importDefault(require("./pascal-case-declarations")); const camel_case_properties_1 = __importDefault(require("./camel-case-properties")); const upper_snake_case_enum_const_1 = __importDefault(require("./upper-snake-case-enum-const")); const pascal_case_decorators_1 = __importDefault(require("./pascal-case-decorators")); const string_length_validator_1 = __importDefault(require("./string-length-validator")); const no_reserved_keywords_1 = __importDefault(require("./no-reserved-keywords")); const no_empty_declarations_1 = __importDefault(require("./no-empty-declarations")); const abstract_must_subclassed_1 = __importDefault(require("./abstract-must-subclassed")); const concertoRuleset = { rules: { 'namespace-version': namespace_version_1.default, 'no-reserved-keywords': no_reserved_keywords_1.default, 'pascal-case-declarations': pascal_case_declarations_1.default, 'camel-case-properties': camel_case_properties_1.default, 'upper-snake-case-enum-constants': upper_snake_case_enum_const_1.default, 'pascal-case-decorators': pascal_case_decorators_1.default, 'string-length-validator': string_length_validator_1.default, 'no-empty-declarations': no_empty_declarations_1.default, 'abstract-must-subclassed': abstract_must_subclassed_1.default, } }; exports.default = concertoRuleset; //# sourceMappingURL=ruleset-main.js.map