diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-06-12 13:34:03 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-06-12 13:37:09 +0200 |
commit | c2ed0e77b747d3ef66c8ad3e84b0831b646c6ca1 (patch) | |
tree | 2f29565d064aec29157b3f32fc2bee320416fa84 /main.js | |
parent | 35528bea06784737e614339e56537d335dd87c22 (diff) |
ESLint: Remove useless escapes.
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -225,6 +225,7 @@ let baseMapLayer = 'topowebb_nedtonad'; if (param === '') { return; } + /* eslint-disable-next-line no-useless-escape */ const m0 = /^([ +\-]?)([0-9]+)([dwmy])$/.exec(param); if (m0 != null) { age_filter_settings.type = 'relative'; @@ -252,7 +253,7 @@ let baseMapLayer = 'topowebb_nedtonad'; age_filter_settings.active = true; return; } - console.log(`Ignoring invalid value for \'age-filter\' parameter: ${param}`); + console.log(`Ignoring invalid value for 'age-filter' parameter: ${param}`); })(params.get('age-filter')); } if (params.has('show-unknown-age')) { |