eslint-plugin-sonarjs
Version: 
SonarJS rules for ESLint
52 lines (51 loc) • 2.16 kB
JavaScript
;
/*
 * SonarQube JavaScript Plugin
 * Copyright (C) 2011-2025 SonarSource SA
 * mailto:info AT sonarsource DOT com
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the Sonar Source-Available License for more details.
 *
 * You should have received a copy of the Sonar Source-Available License
 * along with this program; if not, see https://sonarsource.com/license/ssal/
 */
// https://sonarsource.github.io/rspec/#/rspec/S5542/javascript
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.requiredDependency = exports.languages = exports.scope = exports.sonarKey = exports.meta = void 0;
__exportStar(require("./meta.js"), exports);
exports.meta = {
    type: 'problem',
    docs: {
        description: 'Encryption algorithms should be used with secure mode and padding scheme',
        recommended: true,
        url: 'https://sonarsource.github.io/rspec/#/rspec/S5542/javascript',
        requiresTypeChecking: false,
    },
    fixable: undefined,
    deprecated: false,
    defaultOptions: [],
};
exports.sonarKey = 'S5542';
exports.scope = 'Main';
exports.languages = ['js', 'ts'];
exports.requiredDependency = [];