eslint-plugin-sonarjs
Version:
35 lines (34 loc) • 1.37 kB
JavaScript
;
/*
* SonarQube JavaScript Plugin
* Copyright (C) SonarSource Sàrl
* mailto:info AT sonarsource DOT com
*
* You can redistribute and/or modify this program under the terms of
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
*
* 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/S100/javascript
Object.defineProperty(exports, "__esModule", { value: true });
exports.fields = void 0;
exports.fields = [
[
{
field: 'format',
description: 'Regular expression used to check the function names against.',
default: '^[_a-z][a-zA-Z0-9]*$',
},
{
field: 'ignoreCallArgumentKeys',
description: 'Ignore function-valued keys of object literals passed directly to any call or constructor, including author-chosen names in assign and extend calls. Stored and nested objects remain checked.',
default: false,
},
],
];