Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
remove Typescript-only restriction of use-named-parameter rule (#681)
Browse files Browse the repository at this point in the history
* remove Typescript-only restriction of use-named-parameter rule

* Reverted tslint-warnings.csv to master

* Removed added endline to tslint-warnings.csv

I got this...
  • Loading branch information
drexler authored and Josh Goldberg committed Dec 17, 2018
1 parent 302c65f commit a59b4fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/useNamedParameterRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class Rule extends Lint.Rules.AbstractRule {
description: 'Do not reference the arguments object by numerical index; instead, use a named parameter.',
options: null, // tslint:disable-line:no-null-keyword
optionsDescription: '',
typescriptOnly: true,
typescriptOnly: false,
issueClass: 'Non-SDL',
issueType: 'Warning',
severity: 'Important',
Expand Down
2 changes: 1 addition & 1 deletion tslint-warnings.csv
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@ valid-typeof,Ensures that the results of typeof are compared against a valid str
variable-name,Checks variable names for various errors.,TSLINT1CIV7K3,tslint,Non-SDL,Warning,Important,Opportunity for Excellence,See description on the tslint or tslint-microsoft-contrib website,TSLint Procedure,"398, 710","CWE 398 - Indicator of Poor Code Quality
CWE 710 - Coding Standards Violation"
whitespace,Enforces whitespace style conventions.,TSLINTC35UUS,tslint,Non-SDL,Warning,Low,Opportunity for Excellence,See description on the tslint or tslint-microsoft-contrib website,TSLint Procedure,"398, 710","CWE 398 - Indicator of Poor Code Quality
CWE 710 - Coding Standards Violation"
CWE 710 - Coding Standards Violation"

0 comments on commit a59b4fc

Please sign in to comment.