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

seed-react-app: fix tslint warn about variable names #7

Open
juanmait opened this issue Mar 19, 2019 · 0 comments
Open

seed-react-app: fix tslint warn about variable names #7

juanmait opened this issue Mar 19, 2019 · 0 comments

Comments

@juanmait
Copy link
Owner

juanmait commented Mar 19, 2019

There are some tslint warnings about variable names that don't apply to react apps:

variable name must be in lowerCamelCase or UPPER_CASE (variable-name)

Installing tslint-react should fix this and other potential problems

It doesn't. but this rule will do the job

"rules": {
  "variable-name": [true, "allow-leading-underscore", "allow-pascal-case"],
 }
@juanmait juanmait self-assigned this Mar 19, 2019
@juanmait juanmait changed the title seed-react-app: add tslint-react preset seed-react-app: fix tslint warn about variable names Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant