Skip to content

Commit

Permalink
style: run pre-commit end-of-file-fixer.
Browse files Browse the repository at this point in the history
This linting adds one empty line at the end of every file to ensure a unix compatible text file structure. Any file that does not end on a newline can else not be considered a valid text file.

Signed-off-by: Julian Psotta <julianpsotta@gmail.com>
  • Loading branch information
MichaelsJP authored and TheGreatRefrigerator committed Dec 9, 2022
1 parent 522da4c commit f3aa047
Show file tree
Hide file tree
Showing 64 changed files with 30 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .versionrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
{"type": "build", "section":"Build System", "hidden": false},
{"type": "ci", "section":"CI", "hidden":false}
]
}
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
2 changes: 1 addition & 1 deletion cypress/support/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ import { mount } from 'cypress/vue2'
Cypress.Commands.add('mount', mount)

// Example use:
// cy.mount(MyComponent)
// cy.mount(MyComponent)
2 changes: 1 addition & 1 deletion cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
// require('./commands')
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en-us"><head><meta charset=utf-8><meta content="text/html; charset=UTF-8" http-equiv=content-type><noscript>EN: This app requires JavaScript enabled to work<br>DE: Für diese App muss JavaScript aktiviert sein<br>PT: Este aplicativo requer JavaScript habilitado para funcionar<br>FR: Cette application nécessite JavaScript activé pour fonctionner<br></noscript><title>OpenRouteService route planner - directions, isochrones and places</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="Openrouteservice is a open source route planner with plenty of features for car, heavy vehicles, hiking and cycling."><link rel="shortcut icon" type=image/x-icon href=static/img/favicon.ico><link rel=stylesheet type=text/css href=static/css/font-roboto.css><link rel=stylesheet type=text/css href=static/css/font-raleway.css><link rel=stylesheet type=text/css href=static/css/font-open-sans.css><link rel=stylesheet type=text/css href=static/css/animate.min.css><link rel=stylesheet type=text/css href=static/css/material-icons.css><link href=static/css/vendor.a37bda5c48ceeee7c325.css rel=stylesheet><link href=static/css/app.a37bda5c48ceeee7c325.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=static/js/runtime.089bd630b1d23b8dc0aa.js></script><script type=text/javascript src=static/js/vendor.761d4109d368179336e2.js></script><script type=text/javascript src=static/js/app.59c2589ed9a5e696787c.js></script></body></html>
<!DOCTYPE html><html lang="en-us"><head><meta charset=utf-8><meta content="text/html; charset=UTF-8" http-equiv=content-type><noscript>EN: This app requires JavaScript enabled to work<br>DE: Für diese App muss JavaScript aktiviert sein<br>PT: Este aplicativo requer JavaScript habilitado para funcionar<br>FR: Cette application nécessite JavaScript activé pour fonctionner<br></noscript><title>OpenRouteService route planner - directions, isochrones and places</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="Openrouteservice is a open source route planner with plenty of features for car, heavy vehicles, hiking and cycling."><link rel="shortcut icon" type=image/x-icon href=static/img/favicon.ico><link rel=stylesheet type=text/css href=static/css/font-roboto.css><link rel=stylesheet type=text/css href=static/css/font-raleway.css><link rel=stylesheet type=text/css href=static/css/font-open-sans.css><link rel=stylesheet type=text/css href=static/css/animate.min.css><link rel=stylesheet type=text/css href=static/css/material-icons.css><link href=static/css/vendor.a37bda5c48ceeee7c325.css rel=stylesheet><link href=static/css/app.a37bda5c48ceeee7c325.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=static/js/runtime.089bd630b1d23b8dc0aa.js></script><script type=text/javascript src=static/js/vendor.761d4109d368179336e2.js></script><script type=text/javascript src=static/js/app.59c2589ed9a5e696787c.js></script></body></html>
4 changes: 0 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@

<style lang="scss" src="./app.scss"></style>
<style lang="scss" src="./a11y.scss"></style>




2 changes: 0 additions & 2 deletions src/app-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,5 +297,3 @@ class AppLoader {
}

export default AppLoader


2 changes: 0 additions & 2 deletions src/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,3 @@ We define it here because we want this as a default global definition */
}

/* Customize the default font for ORS */


1 change: 0 additions & 1 deletion src/assets/css/material-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@
/* Support for IE. */
font-feature-settings: 'liga';
}

2 changes: 1 addition & 1 deletion src/assets/fonts/iconfont/MaterialIcons-Regular.ijmap

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/config-examples/hooks-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ appHooks.add('appLoaded', (vueInstance) => {
appHooks.attachPlugin(pluginExample, vueInstance)
// Do something when the app is loaded
})
*/
*/
2 changes: 1 addition & 1 deletion src/config-examples/ors-map-filters-example.js
Original file line number Diff line number Diff line change
Expand Up @@ -895,4 +895,4 @@ const filters = [
}
]

export default filters
export default filters
1 change: 0 additions & 1 deletion src/fragments/about/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ section {
float: left;
margin: 0 20px 40px 0;
}

1 change: 0 additions & 1 deletion src/fragments/box/Box.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@

<script src="./box.js"></script>
<style scoped src="./box.css" scoped></style>

1 change: 0 additions & 1 deletion src/fragments/dialogs/info/Info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@
word-wrap: break-word;
}
</style>

2 changes: 0 additions & 2 deletions src/fragments/footer/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,3 @@
</script>

<style src="./footer.css" scoped></style>


1 change: 0 additions & 1 deletion src/fragments/footer/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ footer a {
color: #cbcbcb;
text-decoration: none;
}

Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
</div>
</template>
<script src="./slider-combo.js"></script>
<style scoped src="./slider-combo.css"></style>
<style scoped src="./slider-combo.css"></style>
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ input::-webkit-outer-spin-button {
float: left;
width: 100%
}

Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

.high-resolution {
padding-right: 12px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@
<script src="./place-details.js"></script>

<style scoped src="./place-details.css"></style>


Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@
.keep-right {
transform: rotate(90deg)
}

Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ export default {
},
routeOpacity: 'Route opacity'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ export default {
},
'routeOpacity': 'Útvonal átlátszatlansága'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ ul.place-inputs li {
margin-top: 9px;
float: left;
}

2 changes: 0 additions & 2 deletions src/fragments/forms/map-form/map-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,3 @@ ul.place-inputs li {
.tab-title {
font-size: 11px;
}


1 change: 0 additions & 1 deletion src/fragments/forms/place-input/PlaceInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,3 @@
<script src="./place-input.js"></script>

<style scoped src="./place-input.scss"></style>

5 changes: 0 additions & 5 deletions src/fragments/forms/place-input/place-input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,3 @@
font-weight: 600;
font-style: italic;
}





Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
margin-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
}
}
2 changes: 1 addition & 1 deletion src/fragments/forms/profile-selector/profile-selector.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
border: 1px solid #cbced1;
background-color: #f5f5f5;
float: left;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@
right: 10px;
width: 100%
}

1 change: 0 additions & 1 deletion src/fragments/h-menu/HMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@
<script src="./h-menu.js"></script>

<style src="./h-menu.css"></style>

2 changes: 0 additions & 2 deletions src/fragments/html-marker/html-marker.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@
margin-top: 5px;
font-size: 9px;
}


Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@
padding-left:0;
display:block;
}


Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
.v-menu__content {
box-shadow: none;
margin-top: -10px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -502,4 +502,3 @@ class OrsExtendedPolyline {
}

export default OrsExtendedPolyline

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,3 @@
height: 45px;
background:transparent
}




2 changes: 0 additions & 2 deletions src/fragments/map-view/map-view-draw.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@
margin-right: 10px;
color: black !important
}


2 changes: 0 additions & 2 deletions src/fragments/map-view/map-view-measurer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
.leaflet-control-measure-interaction a:hover {
display: inline !important;
}


2 changes: 0 additions & 2 deletions src/fragments/map-view/map-view-polyline-measurer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
a.polyline-measure-controlOnBgColor, a.polyline-measure-controlOnBgColor:hover {
background: gray !important;
}


1 change: 0 additions & 1 deletion src/fragments/sidebar/components/top-menu/top-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@
.low-res-menu .v-btn {
min-width: 0;
}

1 change: 0 additions & 1 deletion src/fragments/v-menu/VMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@
max-width: 100%;
}
</style>

2 changes: 0 additions & 2 deletions src/i18n/translations/de-de/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ const translationsBuilder = {
}

export default translationsBuilder


2 changes: 0 additions & 2 deletions src/i18n/translations/en-us/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ const translationsBuilder = {
}

export default translationsBuilder


2 changes: 0 additions & 2 deletions src/i18n/translations/es-es/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ const translationsBuilder = {
}

export default translationsBuilder


2 changes: 0 additions & 2 deletions src/i18n/translations/fr-fr/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ const translationsBuilder = {
}

export default translationsBuilder


2 changes: 0 additions & 2 deletions src/i18n/translations/hu-hu/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ const translationsBuilder = {
}

export default translationsBuilder


2 changes: 0 additions & 2 deletions src/i18n/translations/it-it/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ const translationsBuilder = {
}

export default translationsBuilder


2 changes: 0 additions & 2 deletions src/i18n/translations/pt-br/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ const translationsBuilder = {
}

export default translationsBuilder


2 changes: 1 addition & 1 deletion src/pages/maps/maps.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
position: absolute;
min-width: 170px;
z-index: 5;
}
}
2 changes: 1 addition & 1 deletion src/resources/i18n/ors-dictionary.i18n.en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ export default {
ford: 'Ford',
no_data: 'No data'
}
}
}
2 changes: 1 addition & 1 deletion src/resources/i18n/ors-dictionary.i18n.es-es.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ export default {
'ford': 'Paso de río',
'no_data': 'Sin datos'
}
}
}
2 changes: 1 addition & 1 deletion src/resources/i18n/ors-dictionary.i18n.fr-fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ export default {
'ford': 'Gué',
'no_data': 'Pas de données'
}
}
}
2 changes: 1 addition & 1 deletion src/resources/i18n/ors-dictionary.i18n.hu-hu.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ export default {
'ford': 'Gázló',
'no_data': 'Nincs adat'
}
}
}
2 changes: 1 addition & 1 deletion src/resources/i18n/ors-dictionary.i18n.pt-br.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ export default {
ford: 'Passo de rio',
no_data: 'Sem dados'
}
}
}
2 changes: 1 addition & 1 deletion src/resources/ors-dictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,4 @@ const orsDictionary = {
}
}

export default orsDictionary
export default orsDictionary
2 changes: 1 addition & 1 deletion src/support/ors-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ const setORSMenuIcons = (items) => {
})
}

export default { runORSMenuCustomization }
export default { runORSMenuCustomization }
2 changes: 1 addition & 1 deletion tests/integration/mockups/ors-route.geojson

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/integration/mockups/ors-route.gpx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/integration/mockups/ors-route.json
Original file line number Diff line number Diff line change
Expand Up @@ -7214,4 +7214,4 @@
}
},
"timestamp": 1638353340196
}
}
2 changes: 1 addition & 1 deletion tests/integration/mockups/ors-route.kml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/integration/mockups/ors-route.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
invalid content
invalid content
2 changes: 1 addition & 1 deletion tests/integration/mockups/ors-route.xml.txt

Large diffs are not rendered by default.

0 comments on commit f3aa047

Please sign in to comment.