Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit a980f53

Browse files
committedNov 15, 2017
fix: allow $method
fix #24
1 parent fd6ac58 commit a980f53

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎tslint.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ module.exports = {
8484
'function-name': [
8585
true,
8686
{
87-
'static-method-regex': '^[a-z][\\w\\d]+$',
87+
'function-regex': /^[a-z$][\w\d]+$/,
88+
'method-regex': /^[a-z$][\w\d]+$/,
89+
'private-method-regex': /^[a-z$][\w\d]+$/,
90+
'protected-method-regex': /^[a-z$][\w\d]+$/,
91+
'static-method-regex': /^[a-z$][\w\d]+$/,
8892
}, // 23.1
8993
],
9094
'variable-name': [true, 'check-format'], // 23.2

0 commit comments

Comments
 (0)
This repository has been archived.