Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chris48s/geojson-lint-action
🌍 Run @mapbox/geojsonhint on geojson files in pull requests
https://github.com/chris48s/geojson-lint-action
geojson github-actions spatial-data
Last synced: 24 days ago
JSON representation
🌍 Run @mapbox/geojsonhint on geojson files in pull requests
- Host: GitHub
- URL: https://github.com/chris48s/geojson-lint-action
- Owner: chris48s
- License: mit
- Created: 2020-11-01T12:24:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-23T17:57:35.000Z (about 2 years ago)
- Last Synced: 2024-09-24T07:15:23.281Z (about 1 month ago)
- Topics: geojson, github-actions, spatial-data
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/geojson-lint
- Size: 5.55 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# geojson-lint-action
[![Run tests](https://github.com/chris48s/geojson-lint-action/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/chris48s/geojson-lint-action/actions/workflows/test.yml)
Run [@mapbox/geojsonhint](https://www.npmjs.com/package/@mapbox/geojsonhint) on geojson files in pull requests
```yaml
name: Geojson Lint
on: [pull_request]jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Lint
uses: chris48s/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}' # required# geojsonhint config: https://www.npmjs.com/package/@mapbox/geojsonhint#api
no-duplicate-members: 'false' # optional, default=true
precision-warning: 'true' # optional, default=false
```