https://github.com/epergo/sublimelinter-contrib-ameba
Sublime Linter for Ameba
https://github.com/epergo/sublimelinter-contrib-ameba
ameba crystal linter sublime
Last synced: 6 months ago
JSON representation
Sublime Linter for Ameba
- Host: GitHub
- URL: https://github.com/epergo/sublimelinter-contrib-ameba
- Owner: epergo
- License: mit
- Created: 2018-05-10T08:09:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T08:36:54.000Z (almost 4 years ago)
- Last Synced: 2024-12-30T14:11:45.374Z (about 1 year ago)
- Topics: ameba, crystal, linter, sublime
- Language: Python
- Homepage: https://packagecontrol.io/packages/SublimeLinter-contrib-ameba
- Size: 10.7 KB
- Stars: 14
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SublimeLinter-contrib-ameba
[](https://travis-ci.org/epergo/SublimeLinter-contrib-ameba)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [ameba](https://github.com/veelenga/ameba). It will be used with files that have crystal syntax.
## Installation
SublimeLinter must be installed in order to use this plugin.
Please use [Package Control](https://packagecontrol.io) to install both SublimeLinter and the linter plugin.
Before installing this plugin, you must ensure that `ameba` is installed on your project. Add `ameba` to your `shard.yml` file, in `development_dependencies`:
```crystal
development_dependencies:
ameba:
github: veelenga/ameba
```
Run `shards install`, this will place an `ameba` executable in a `bin` folder inside your project's folder.
That executable will be used by default, if you want to use another executable just specify it in SublimeLinter User settings.
If an `.ameba.yml` config file is located in your project's root path, it will be used.
## Settings
- SublimeLinter settings:
- Linter settings:
- Custom `ameba` executable:
```json
// SublimeLinter Settings - User
{
"linters": {
"ameba": {
"executable": "path_to_ameba_executable"
}
},
}
```