You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running yarn lint in cozy-harvest-lib dir, it does not include ts files: "lint": "cd .. && yarn eslint --ext js,jsx packages/cozy-harvest-lib".
And, when trying to add ts support, it fails with Error: Error while loading rule '@typescript-eslint/dot-notation': You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser. .
This finally works when changing the .eslintrc file at the cozy-libs root:
When running
yarn lint
in cozy-harvest-lib dir, it does not include ts files:"lint": "cd .. && yarn eslint --ext js,jsx packages/cozy-harvest-lib"
.And, when trying to add ts support, it fails with
Error: Error while loading rule '@typescript-eslint/dot-notation': You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser.
.This finally works when changing the .eslintrc file at the cozy-libs root:
But there might be a better way?
The text was updated successfully, but these errors were encountered: