config: add only-arrow-functions rule to tslint
This commit is contained in:
parent
88f17f43ea
commit
5237efb88c
|
@ -25,7 +25,8 @@
|
||||||
"no-parameter-reassignment": true,
|
"no-parameter-reassignment": true,
|
||||||
"arrow-return-shorthand": true,
|
"arrow-return-shorthand": true,
|
||||||
"no-default-export": true,
|
"no-default-export": true,
|
||||||
"prefer-template": true
|
"prefer-template": true,
|
||||||
|
"only-arrow-functions": [true, "allow-named-functions"]
|
||||||
},
|
},
|
||||||
"jsRules": true
|
"jsRules": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue