Skip to content

Commit 1aa4e8d

Browse files
authored
Merge pull request #940 from openlayers/mapbox-to-maplibre-spec
Use maplibre instead of mapbox style spec
2 parents af18bd7 + 13c51d2 commit 1aa4e8d

File tree

11 files changed

+136
-706
lines changed

11 files changed

+136
-706
lines changed

.eslintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"import/resolver": {
1515
"alias": {
1616
"map": [
17-
["@mapbox/mapbox-gl-style-spec", "./node_modules/@mapbox/mapbox-gl-style-spec"],
1817
["ol-mapbox-style", "./src"],
1918
["ol-mapbox-style/dist/stylefunction", "./src"]
2019
],

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ ol-mapbox-style now requires OpenLayers >= 6.13.
490490

491491
## 6.1.1
492492

493-
* Fix version issue with @mapbox/mapbox-gl-style-spec
493+
* Fix version issue with @maplibre/maplibre-gl-style-spec
494494

495495
## 6.1.0
496496

eslint.config.js_

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
import openlayers from 'eslint-config-openlayers';
2+
3+
/**
4+
* @type {Array<import("eslint").Linter.Config>}
5+
*/
6+
export default [
7+
...openlayers,
8+
{
9+
name: 'test-config',
10+
files: ['test/**/*'],
11+
languageOptions: {
12+
globals: {
13+
after: 'readonly',
14+
afterEach: 'readonly',
15+
afterLoadText: 'readonly',
16+
before: 'readonly',
17+
beforeEach: 'readonly',
18+
createMapDiv: 'readonly',
19+
defineCustomMapEl: 'readonly',
20+
expect: 'readonly',
21+
describe: 'readonly',
22+
disposeMap: 'readonly',
23+
it: 'readonly',
24+
render: 'readonly',
25+
where: 'readonly',
26+
},
27+
},
28+
},
29+
{
30+
name: 'examples-config',
31+
files: ['examples/**/*'],
32+
rules: {
33+
'import/no-unresolved': 'off',
34+
},
35+
},
36+
];

0 commit comments

Comments
 (0)