Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom linting #1238

Open
1 of 6 tasks
akosyakov opened this issue Feb 8, 2018 · 0 comments
Open
1 of 6 tasks

custom linting #1238

akosyakov opened this issue Feb 8, 2018 · 0 comments
Labels
help wanted issues meant to be picked up, require help quality issues related to code and application quality

Comments

@akosyakov
Copy link
Member

akosyakov commented Feb 8, 2018

Some repetitive issues which could be automated:

  • ts code should only use code from declared dependencies or transitive dependencies - [quality] Implement a custom tslint rule to check imports #467
  • file naming, should be named after a type in the file, a rule should allow excluding with regex pattern, i.e. *-protocol.ts, objects.ts, types.ts, etc.
  • declaration of dev dependencies, should go to the root package or the ext script package
  • empty files
  • public functions and variables without namespaces, should usually belong to namespace of class using it
  • return types should not be inferred for public functions
@akosyakov akosyakov added help wanted issues meant to be picked up, require help quality issues related to code and application quality labels Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted issues meant to be picked up, require help quality issues related to code and application quality
Projects
None yet
Development

No branches or pull requests

1 participant