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

Commit

Permalink
#344 typedef rule recommendation - update defaults to be kebab cased
Browse files Browse the repository at this point in the history
  • Loading branch information
HamletDRC committed Feb 17, 2017
1 parent 9dd1589 commit d580308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion additional_rule_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
"severity": "Important",
"level": "Opportunity for Excellence",
"group": "Clarity",
"recommendation": "[true, \"callSignature\", \"indexSignature\", \"parameter\", \"propertySignature\", \"variableDeclarator\", \"memberVariableDeclarator\"],",
"recommendation": "[true, \"call-signature\", \"arrow-call-signature\", \"parameter\", \"arrow-parameter\", \"property-declaration\", \"variable-declaration\", \"member-variable-declaration\"],",
"commonWeaknessEnumeration": "398, 710"
},
"typedef-whitespace": {
Expand Down
2 changes: 1 addition & 1 deletion recommended_ruleset.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ module.exports = {
"prefer-const": true,
"prefer-for-of": true,
"prefer-method-signature": true,
"typedef": [true, "callSignature", "indexSignature", "parameter", "propertySignature", "variableDeclarator", "memberVariableDeclarator"],
"typedef": [true, "call-signature", "arrow-call-signature", "parameter", "arrow-parameter", "property-declaration", "variable-declaration", "member-variable-declaration"],
"underscore-consistent-invocation": true,
"unified-signatures": true,
"variable-name": true,
Expand Down

0 comments on commit d580308

Please sign in to comment.