Linter
a GitHub App that lints and fixes code in Pull Requests
Install / Use
/learn @probot/LinterREADME
Linter
<img width="783" alt="screen shot 2017-07-25 at 10 08 38 pm" src="https://user-images.githubusercontent.com/13410355/28605333-ef0701d2-7185-11e7-984c-88a3ffea4c87.png"> <img width="1018" alt="screen shot 2017-07-25 at 10 10 53 pm" src="https://user-images.githubusercontent.com/13410355/28605378-2d327fa4-7186-11e7-891e-2d3556ab345e.png">a GitHub App built with probot that lints and fixes code in Pull Requests.
Usage
- Install the bot on the intended repositories. The plugin requires the following Permissions and Events:
- Repository Contents: Read & Write
- [x] check the box for Push events
- Optionally, you can add a
.github/linter.ymlfile that contains the following optionally editable fields:
# Configuration for linter - https://github.com/probot/linter
# a list of files the linter will NOT be applied to
exclude:
- index.js
- config.js
# Options to be passed into the javascript standard linter
# More documentation on what is acceptable here can be found in the standard docs here: https://github.com/standard/standard#standardlinttexttext-opts-callback
globals: [] # custom global variables to declare
plugins: [] # custom eslint plugins
envs: [] # custom eslint environment
Setup
# Install dependencies
npm install
# Run the bot
npm start
See docs/deploy.md if you would like to run your own instance of this plugin.
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
