Comments (5)
Yes
from maplibre-gl-directions.
In GL JS, we use eslint to check if everything is fine and if warnings and errors occur, the workflow fails. Then the user just needs to run something manually like npm run lint -- --fix
, solve the problem, and commit the change. I prefer this over automatic commits made by the workflow because it is easier to understand for new people, the commits are controlled by a human, and follow-up workflows will run automatically (GitHub has some rules that workflows should not trigger workflows to avoid loops...).
from maplibre-gl-directions.
@wipfli sound reasonable enough. But what about the Prettier? It only affects formatting, and I really prefer all the codebase to be style in the same manner. There are no guarantees that each contributor will manually run the Prettier script locally (I even frequently forget to do so myself), so I think it's a good idea to run it during the automated build. What do you think?
from maplibre-gl-directions.
Yes completely agree. Let's run Prettier in CI and if something is bad, the workflow should fail. We will only merge things with green CI so like this the codebase stays clean...
from maplibre-gl-directions.
@wipfli so you mean without auto-fixes on the Prettier side? Just the failing build if something's out of place?
from maplibre-gl-directions.
Related Issues (20)
- Add a `flyTo` option to make the map automatically fly to the built route when it's updated
- Error `Cannot find module` when using in a Nuxt 2 (webpack) project HOT 12
- Save and Load example: the Directions breaks if you first load unexisting saved routes data
- Personal Access Token in CI HOT 6
- Broken API docs HOT 1
- Can't drag the map if setting directions.interactive = true HOT 5
- Map frozen on touchscreens after calling destroy() HOT 5
- `destroy()`-ing the Directions instance while it fetches the routes leads to multiple runtime errors HOT 2
- Disabling interactivity is ignored if disabled while fetching directions
- Add support for Mapbox Directions API's `bearings` option HOT 1
- MovewapointStart, MoveWaypointEnd Enchancement HOT 1
- Incorrectly-built routes for the cases when there are multiple waypoints in the input data with the same coordinates
- Use placemark's polyline in favor of mapbox's polyline HOT 1
- The CD won't update the package.json version after publishing a new version to NPM for some reason HOT 1
- Force install required with [email protected] HOT 1
- Introduce a full restyling docs and example
- Testing HOT 14
- Reduce bundle size
- Implement the main directions control
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maplibre-gl-directions.