What is producing “Invalid option for project: true” when running 'tslint --project' on a React project?
问题 I'm trying to set up tslint to work on a small sample React/Typescript project, following a tutorial online. When I either run yarn lint or simply enter tslint --project in the terminal, I keep getting the error Invalid option for project: true I've done a lot of googling, and I can't find what I'm doing wrong. My tslint.json is { "extends": [ "tslint:recommended", "tslint-react", "tslint-config-prettier" ], "rules": { "ordered-imports": false, "object-literal-sort-keys": false, "no-console":