VOOZH about

URL: https://marketplace.visualstudio.com/items?itemName=d9705996.tighten-lint

⇱ tighten-lint - Visual Studio Marketplace


Skip to content
👁 Image
Sign in
Visual Studio Code>Linters>tighten-lintNew to Visual Studio Code? Get it now.
👁 tighten-lint

tighten-lint

Tighten linter for Laravel conventions
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tighten Lint for VSCode

A VScode linter for Tighten Lint

👁 Example

Installation

  • CTRL + SHIFT + X (View: show extensions)
  • Search for tighten lint and click install

Features

  • Customisable linter severities
  • Customise executed linters
  • Supports tlint.json configuration file

Requirements

You must install the linter executable as per the tlint install instructions.

Extension Settings

setting default description
tighten-lint.exec tlint The tlint executable path
tighten-lint.defaultSeverity error The default violation severity (error, warning, info, hint)
tighten-lint.severities {} Override default severity for specific linter
tighten-lint.only [] A list of the specific linters to run

Example Configuration

"tighten-lint.exec": "/usr/bin/tlint",
 "tighten-lint.defaultSeverity": "warning",
 "tighten-lint.only": [
 "AlphabeticalImports",
 "NoInlineVarDocs",
 "ImportFacades"
 ],
 "tighten-lint.severities": {
 "NoInlineVarDocs": "info"
 },

tlintUsing a configuration file

If you wish to use a configuration file you should place the tlint.json file in the root of your project folder in the required format e.g.

👁 Explorer

The extension will then use this configuration when linting in combination with the other settings.

Known Limitations

  • Linting is limited to local files and will not work on uri schemes other the file e.g. ssh

Contributing

See the contributing guide and Code of Conduct