graphistry / graphbi

Graphistry monorepo for BI integrations
0 stars 0 forks source link

lint tsx #74

Open lmeyerov opened 2 years ago

lmeyerov commented 2 years ago

Currently eslint is configured to run on *.ts, but not yet *.tsx:

  1. [x] enable *.tsx checking & fixing:

https://github.com/graphistry/graphbi/blob/419e8d193a65d2b449f529b208ecf20fb245a0cc/pbiviz/package.json#L6

        "eslint": "eslint \"src/**/*.ts\"",
        "eslint:fix": "eslint --fix \"src/**/*.ts\"",

=>

        "eslint": "eslint \"src/**/*.ts\" && eslint\"src/**/*.tsx\"",
        "eslint:fix": "eslint --fix \"src/**/*.ts\" && eslint --fix \"src/**/*.tsx\"",
  1. [ ] actual lint fixes