Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
lowzonenose committed Aug 21, 2024
1 parent 2068eb4 commit 4ddb138
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 16 deletions.
1 change: 1 addition & 0 deletions src/Services/Config/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import ConfigInterface from "./ConfigInterface";
* @param {Sting} options.apiKey - clé(s) dont on veut obtenir la configuration. Si plusieurs clés, séparer chacune par une virgule
* @param {Boolean} [options.sync=false] - force le mode synchrone
* @param {String} options.customConfigFile - chemin vers un fichier de configuration personnalisé. Surcharge le paramètre apiKey.
* @see Gp.Services.GetConfigInterface
*
* @example
* var options = {
Expand Down
10 changes: 10 additions & 0 deletions src/Services/Config/model/Base.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

/* eslint-disable no-unused-vars */
/**
* A base layer
*
* type {Boolean}
* @namespace
* @alias Gp.Services.Config.Base
*/
var Base = "";
2 changes: 1 addition & 1 deletion src/Services/Config/model/Constraint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

/* eslint-disable no-unused-vars */
/**
*
* Object used to express a geographical (BBOX, scale) and temporal constraint.
Expand All @@ -12,5 +13,4 @@
* @namespace
* @alias Gp.Services.Config.Constraint
*/

var Constraint = {};
2 changes: 1 addition & 1 deletion src/Services/Config/model/Format.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

/* eslint-disable no-unused-vars */
/**
* Object used to describe a format to use with Geoportal resources.
*
Expand All @@ -8,5 +9,4 @@
* @namespace
* @alias Gp.Services.Config.Format
*/

var Format = {};
3 changes: 2 additions & 1 deletion src/Services/Config/model/Layer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
/**
* Object used to describe geoportal resource (WMTS, WMS, WFS layers, geocoding resources or elevation service) parameters. Properties may be used or not depending on the resource type.
*
Expand Down Expand Up @@ -38,4 +39,4 @@
* @namespace
* @alias Gp.Services.Config.Layer
*/
var Layer = {};
var Layer = {};
2 changes: 1 addition & 1 deletion src/Services/Config/model/Legend.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe a legend file associated with a geoportal resource (WMTS, WMS, WFS layers).
Expand All @@ -9,5 +10,4 @@
* @namespace
* @alias Gp.Services.Config.Legend
*/

var Legend = {};
2 changes: 1 addition & 1 deletion src/Services/Config/model/Metadata.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe a metadata file associated with a geoportal resource.
Expand All @@ -8,5 +9,4 @@
* @namespace
* @alias Gp.Services.Config.Metadata
*/

var Metadata = {};
2 changes: 1 addition & 1 deletion src/Services/Config/model/Originator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe an Originator of geoportal resource.
Expand All @@ -11,5 +12,4 @@
* @namespace
* @alias Gp.Services.Config.Originator
*/

var Originator = {};
1 change: 1 addition & 0 deletions src/Services/Config/model/Service.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe a web service of the geoportal platform.
Expand Down
2 changes: 1 addition & 1 deletion src/Services/Config/model/Style.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe a style that may be used for a geoportal resource.
Expand All @@ -10,5 +11,4 @@
* @namespace
* @alias Gp.Services.Config.Style
*/

var Style = {};
1 change: 1 addition & 0 deletions src/Services/Config/model/Territory.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe properties of a french territory covered by geoportal resources.
Expand Down
10 changes: 4 additions & 6 deletions src/Services/Config/model/Thematic.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe a thematic
*
* @property {String} name - Thematic name
* @property {Boolean} inspire - true if the thematic name is an [INSPIRE one]{@link http://inspire.ec.europa.eu/index.cfm/pageid/2/list/7}.
* A thematic name
*
* type {String}
* @namespace
* @alias Gp.Services.Config.Thematic
*/

var Thematic = {};
var Thematic = "";
2 changes: 1 addition & 1 deletion src/Services/Config/model/TileMatrix.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe a TileMatrix.
Expand All @@ -13,5 +14,4 @@
* @namespace
* @alias Gp.Services.Config.TileMatrix
*/

var TileMatrix = {};
2 changes: 1 addition & 1 deletion src/Services/Config/model/TileMatrixLimit.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
* Object used to describe a layer extent on a Tile Matrix.
Expand All @@ -10,5 +11,4 @@
* @namespace
* @alias Gp.Services.Config.TileMatrixLimit
*/

var TileMatrixLimit = {};
3 changes: 2 additions & 1 deletion src/Services/Config/model/TileMatrixSet.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */

/**
*
Expand All @@ -10,5 +11,5 @@
*
* @namespace
* @alias Gp.Services.Config.TileMatrixSet
*/
*/
var TileMatrixSet = {};

0 comments on commit 4ddb138

Please sign in to comment.