Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

AtomLinter/linter-tslint

Repository files navigation

Travis Version Downloads

linter-tslint

This linter plugin for AtomLinter provides an interface to tslint. It will be used with files that have the "TypeScript" or "TypeScriptReact" syntax.

Installation

On first activation the plugin will install all dependencies automatically, you no longer have to worry about installing Linter.

Plugin installation

$ apm install linter-tslint

Settings

You can configure linter-tslint by editing ~/.atom/config.cson (choose Config... in Atom menu):

'linter-tslint':
  # Custom rules directory (absolute path)
  rulesDirectory: "/path/to/rules"
  # Try using the local tslint package (if exist)
  useLocalTslint: true
  # Enable semantic rules
  enableSemanticRules: true

Contributing

If you would like to contribute enhancements or fixes, please do the following:

  1. Fork the plugin repository.
  2. Hack on a separate topic branch created from the latest master.
  3. Commit and push the topic branch.
  4. Make a pull request.
  5. welcome to the club

Please note that modifications should follow these coding guidelines:

  • Indent is 2 spaces.
  • Code should pass coffeelint linter.
  • Vertical whitespace helps readability, don’t be afraid to use it.

Thank you for helping out!