/vscode-elixir-linter

Provides linting for Elixir files using Credo for Visual Studio Code

Primary LanguageTypeScript

NO LONGER MAINTAINED

I have not worked in Elixir for a while so I haven't continued to develop this extension. If you would like to fork this project, please go ahead, and let me know if you need help.

Elixirlinter

Provides linting for Elixir files using Credo for Visual Studio Code

Codeship Status for iampeterbanjo/vscode-elixir-linter Visual Studio Marketplace

Features

  • Error warning indicator under text
  • Tooltips with lint message
  • Configurable lint severity levels

feature tooltips

Requirements

Credo

Extension Settings

  • "elixirLinter.useStrict": [true | false]
  • "elixirLinter.defaultSeverity": [number]
  • "elixirLinter.consistencySeverity": [number]
  • "elixirLinter.designSeverity": [number]
  • "elixirLinter.refactoringSeverity": [number]
  • "elixirLinter.readabilitySeverity": [number]
  • "elixirLinter.warningsSeverity": [number]

Linting

show errors and warnings Lint messages appear in the format "Message [Category:Severity level]"

Severity levels (settings.json)

  • 1 = Warning (default). These appear underlined and in errors and warnings list.
  • 2 = Information. These appear underlined and in errors and warnings list.
  • 3 = Hint. These appear in errors and warnings list only.

Categories

  • Consistency [C]
  • Readability [R]
  • Refactoring Opportunities [F]
  • Software Design [D]
  • Warnings [W]

Development

  • Getting started: npm install then npm run test:watch

Credits