diff --git a/package.json b/package.json index 2cc53f9..d2a8b28 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "test": "npm run prepare && node -r ./setup-browser-env.cjs --test test.js", "test:debug": "npm run prepare && npm run test:debug:help && node -r ./setup-browser-env.cjs --inspect-brk --watch --test test.js", "test:debug:help": "echo '---' && echo 'Debug is reachable in your browser at chrome://inspect' && echo '---'", - "eslint": "eslint src *.js", + "eslint": "eslint src *.js --fix", "checks": "npm run eslint && npm run typecheck", "prettier-fix": "prettier -w src *.js", "prepare": "tsc --pretty && node node_modules/@geoblocks/recast-utils/fix_paths lib", diff --git a/src/VectorEncoder.ts b/src/VectorEncoder.ts index 6e7b9e9..7f9a02d 100644 --- a/src/VectorEncoder.ts +++ b/src/VectorEncoder.ts @@ -27,7 +27,7 @@ import {Constants} from './constants'; import {getFontParameters} from 'ol/css.js'; import {type ColorLike} from 'ol/colorlike'; -import { Geometry } from 'ol/geom'; +import {Geometry} from 'ol/geom'; /** Represents the different types of printing styles. */ export const PrintStyleType = {