Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add super-linter for push and PRs #13

Merged
merged 1 commit into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow executes several linters on changed files based on languages used in your code base whenever
# you push a code or open a pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint Code Base

on: [push, pull_request]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: "master"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions Bing/Bing_Hybrid.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<customMapSource>
<name>Bing Hybrid</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
Expand All @@ -8,5 +8,5 @@
<tileUpdate>None</tileUpdate>
<backgroundColor>#000000</backgroundColor>
<ignoreErrors>false</ignoreErrors>
<serverParts/>
<serverParts />
</customMapSource>
16 changes: 8 additions & 8 deletions Chartbundle/Chartbundle IFR High.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<customMapSource>
<name>Chartbundle IFR High</name>
<minZoom>4</minZoom>
<maxZoom>13</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<url>http://wms.chartbundle.com/tms/v1.0/enrh/{$z}/{$x}/{$y}.png?type=google</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
<name>Chartbundle IFR High</name>
<minZoom>4</minZoom>
<maxZoom>13</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<url>http://wms.chartbundle.com/tms/v1.0/enrh/{$z}/{$x}/{$y}.png?type=google</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
16 changes: 8 additions & 8 deletions Chartbundle/Chartbundle IFR Low.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<customMapSource>
<name>Chartbundle IFR Low</name>
<minZoom>4</minZoom>
<maxZoom>13</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<url>http://wms.chartbundle.com/tms/v1.0/enrl/{$z}/{$x}/{$y}.png?type=google</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
<name>Chartbundle IFR Low</name>
<minZoom>4</minZoom>
<maxZoom>13</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<url>http://wms.chartbundle.com/tms/v1.0/enrl/{$z}/{$x}/{$y}.png?type=google</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
16 changes: 8 additions & 8 deletions Chartbundle/Chartbundle Sectional.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<customMapSource>
<name>Chartbundle Sectional</name>
<minZoom>4</minZoom>
<maxZoom>12</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<url>http://wms.chartbundle.com/tms/v1.0/sec/{$z}/{$x}/{$y}.png?type=google</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
<name>Chartbundle Sectional</name>
<minZoom>4</minZoom>
<maxZoom>12</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<url>http://wms.chartbundle.com/tms/v1.0/sec/{$z}/{$x}/{$y}.png?type=google</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions ESRI/ESRI Clarity.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>ESRI World Imagery (Clarity) Beta</name>
<minZoom>1</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://clarity.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
<name>ESRI World Imagery (Clarity) Beta</name>
<minZoom>1</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://clarity.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions ESRI/ESRI Nat Geo World.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>ESRI Nat Geo World</name>
<minZoom>1</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
<name>ESRI Nat Geo World</name>
<minZoom>1</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>https://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions ESRI/ESRI World Topo.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>ESRI World Topo</name>
<minZoom>1</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
<name>ESRI World Topo</name>
<minZoom>1</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
6 changes: 3 additions & 3 deletions ESRI/USA Topo Maps.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<customMapSource>
<name>USA Topo Maps</name>
<minZoom>0</minZoom>
<maxZoom>15</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<tileUpdate>None</tileUpdate>
<url>https://server.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
</customMapSource>
14 changes: 7 additions & 7 deletions GRG/Google Road Only (Overlay).xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Google Road Only (Overlay)</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=h&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
<name>Google Road Only (Overlay)</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=h&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions GRG/Google Terrain Shading (Overlay).xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Google Terrain Shading (Overlay)</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=t&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
<name>Google Terrain Shading (Overlay)</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=t&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
6 changes: 3 additions & 3 deletions GRG/USDA FSTopo (Overlay).xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<customMapSource>
<name>USDA FSTopo (Overlay)</name>
<minZoom>0</minZoom>
<maxZoom>17</maxZoom>
<tileType>png</tileType>
<tileUpdate>None</tileUpdate>
<tileUpdate>None</tileUpdate>
<url>https://apps.fs.usda.gov/arcx/rest/services/EDW/EDW_FSTopo_01/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
</customMapSource>
14 changes: 7 additions & 7 deletions Google/Google Hybrid.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Google Hybrid</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=y&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
<name>Google Hybrid</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=y&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions Google/Google Roadmap Alt.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Google Roadmap Alt</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=r&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
<name>Google Roadmap Alt</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=r&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions Google/Google Roadmap No POI.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Google Roadmap No POI</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=m&amp;x={$x}&amp;y={$y}&amp;z={$z}&amp;s=Gal&amp;apistyle=s.t%3A2%7Cs.e%3Al%7Cp.v%3Aoff</url>
<backgroundColor>#000000</backgroundColor>
<name>Google Roadmap No POI</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=m&amp;x={$x}&amp;y={$y}&amp;z={$z}&amp;s=Gal&amp;apistyle=s.t%3A2%7Cs.e%3Al%7Cp.v%3Aoff</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions Google/Google Roadmap Standard.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Google Roadmap Standard</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=m&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
<name>Google Roadmap Standard</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=m&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions Google/Google Satellite Only.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Google Satellite Only</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=s&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
<name>Google Satellite Only</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=s&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
14 changes: 7 additions & 7 deletions Google/Google Terrain.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Google Terrain</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=p&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
<name>Google Terrain</name>
<minZoom>0</minZoom>
<maxZoom>20</maxZoom>
<tileType>jpg</tileType>
<tileUpdate>None</tileUpdate>
<url>http://mt1.google.com/vt/lyrs=p&amp;x={$x}&amp;y={$y}&amp;z={$z}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
8 changes: 4 additions & 4 deletions NationalLandSurveyOfFinland/MML.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>MML Topographic Map</name>
<tileType>jpg</tileType>
<url>https://tiles.kartat.kapsi.fi/peruskartta/{$z}/{$x}/{$y}.jpg</url>
<minZoom>2</minZoom>
<maxZoom>19</maxZoom>
<tileType>jpg</tileType>
<url>https://tiles.kartat.kapsi.fi/peruskartta/{$z}/{$x}/{$y}.jpg</url>
<minZoom>2</minZoom>
<maxZoom>19</maxZoom>
<tileUpdate>None</tileUpdate>
<backgroundColor>#000000</backgroundColor>
<ignoreErrors>false</ignoreErrors>
Expand Down
14 changes: 7 additions & 7 deletions OpenTopo/opentopomap.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<customMapSource>
<name>Open Topo Map</name>
<minZoom>1</minZoom>
<maxZoom>17</maxZoom>
<tileType>PNG</tileType>
<tileUpdate>IfNoneMatch</tileUpdate>
<serverParts>a b c</serverParts>
<url>https://{$serverpart}.tile.opentopomap.org/{$z}/{$x}/{$y}.png</url>
<name>Open Topo Map</name>
<minZoom>1</minZoom>
<maxZoom>17</maxZoom>
<tileType>PNG</tileType>
<tileUpdate>IfNoneMatch</tileUpdate>
<serverParts>a b c</serverParts>
<url>https://{$serverpart}.tile.opentopomap.org/{$z}/{$x}/{$y}.png</url>
</customMapSource>
2 changes: 1 addition & 1 deletion USGS/USGSBasemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<tileUpdate>None</tileUpdate>
<url>https://basemap.nationalmap.gov/ArcGIS/rest/services/USGSTopo/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
</customMapSource>
2 changes: 1 addition & 1 deletion USGS/USGSImageryOnly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<tileUpdate>None</tileUpdate>
<url>https://basemap.nationalmap.gov/ArcGIS/rest/services/USGSImageryOnly/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
</customMapSource>
2 changes: 1 addition & 1 deletion USGS/USGSImageryTopo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<tileUpdate>None</tileUpdate>
<url>https://basemap.nationalmap.gov/ArcGIS/rest/services/USGSImageryTopo/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
</customMapSource>
3 changes: 1 addition & 2 deletions USGS/USGSShadedRelief.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
<tileUpdate>None</tileUpdate>
<url>https://basemap.nationalmap.gov/arcgis/rest/services/USGSShadedReliefOnly/MapServer/tile/{$z}/{$y}/{$x}</url>
<backgroundColor>#000000</backgroundColor>
</customMapSource>

</customMapSource>