npm install --save-dev @taskade/eslint-plugin
This project uses Changesets for version management. When contributing:
- Make your changes
- Run
npm run changeset
to create a changeset - Commit both your changes and the changeset file
- Push to
main
- a version PR will be created automatically
See .changeset/USAGE.md
for detailed changeset usage instructions.
npm run build:watch
Go to packages/example
and test out the ESLint rules
Packages are automatically published to both npmjs.com and GitHub Packages when changeset version PRs are merged. See .github/PUBLISH_WORKFLOW.md
for details.
NOTE: ([email protected]) This rule might also cause performance issue in large project.
Not on by default due to additional configuration (parserOptions.project
) needed.
Requires promises to be handled properly (awaited, returned, or explicitly handled). Not on by default due to additional configuration (parserOptions.project
) needed.
{
"rules": {
"@typescript-eslint/strict-boolean-expressions": "error",
"@typescript-eslint/no-floating-promises": "error"
},
"parserOptions": {
"project": "tsconfig.json"
}
}