UNPKG

ol-mapbox-style

Version:

Create OpenLayers maps from Mapbox Style objects

37 lines (35 loc) 782 B
import openlayers from 'eslint-config-openlayers'; /** * @type {Array<import("eslint").Linter.Config>} */ export default [ ...openlayers, { name: 'test-config', files: ['test/**/*'], languageOptions: { globals: { after: 'readonly', afterEach: 'readonly', afterLoadText: 'readonly', before: 'readonly', beforeEach: 'readonly', createMapDiv: 'readonly', defineCustomMapEl: 'readonly', expect: 'readonly', describe: 'readonly', disposeMap: 'readonly', it: 'readonly', render: 'readonly', where: 'readonly', }, }, }, { name: 'examples-config', files: ['examples/**/*'], rules: { 'import/no-unresolved': 'off', }, }, ];