An open API service indexing awesome lists of open source software.

https://github.com/5monkeys/docker-lint-eslint


https://github.com/5monkeys/docker-lint-eslint

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# eslint (Alpine)

Minimal eslint image using Alpine.

# Usage

## Example usage via Docker Compose

### docker-compose.yml

```yaml
version: "2"
services:
lint-js:
image: 5monkeys/lint-eslint
volumes:
- "./.eslintrc.js:/.eslintrc.js"
- ".:/code"
command: /code/.*.js /code/src/static/js/ --ignore-pattern '!.*.js'
```

### Running

```bash
$ docker-compose run --rm lint-js
```