Skip to content

Commit

Permalink
Merge pull request #64 from mapbox/replace_geojsonhint
Browse files Browse the repository at this point in the history
Replace geojsonhint
  • Loading branch information
davojta authored Jan 22, 2025
2 parents 4510be0 + 826f75e commit 55a23f7
Show file tree
Hide file tree
Showing 8 changed files with 395 additions and 1,109 deletions.
25 changes: 25 additions & 0 deletions .github/workflow/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Tests
run-name: Tests

on:
push:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'main' }}

jobs:
tests:
runs-on: 'ubuntu-latest'
steps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: |
npm ci
- run: |
npm run test
17 changes: 17 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"semi": true,
"trailingComma": "none",
"singleQuote": true,
"printWidth": 80,
"parser": "babel-ts",
"tabWidth": 2,
"arrowParens": "avoid",
"overrides": [
{
"files": "*.json",
"options": {
"parser": "json"
}
}
]
}
2 changes: 0 additions & 2 deletions .travis.yml

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### v5.2.0

- Replace `@mapbox/geojsonhint` with `@placemarkio/check-geojson` for validation [#64](https://github.com/mapbox/gazetteer/pull/64)
- Update prettier, pretty-quick and husky to fix npm audit issues
- Apply prettier to all files

### v5.1.0

- Added locations for Japan [#50](https://github.com/mapbox/gazetteer/pull/50)
Expand Down
Loading

0 comments on commit 55a23f7

Please sign in to comment.