diff --git a/.cspell.json b/.cspell.json new file mode 100644 index 00000000000..c537c409e30 --- /dev/null +++ b/.cspell.json @@ -0,0 +1,230 @@ +{ + "version": "0.2", + "words": [ + "Aabb", + "ABAC", + "ACAC", + "afterjs", + "APAB", + "APAC", + "arcgis", + "Astro", + "babylonjs", + "bbox", + "bboxes", + "beforejs", + "Bounde", + "buble", + "carto", + "choropleth", + "CIELAB", + "CJKV", + "Clov", + "codecov", + "Cpath", + "Csvg", + "dbclick", + "dedos", + "deduped", + "Delle", + "desplazamiento", + "distjs", + "dlopen", + "documentationjs", + "easings", + "echartslayer", + "Epanechnikov", + "EPSG", + "falsey", + "flatgeobuf", + "flyto", + "GCEZ", + "Geobuf", + "getx", + "gety", + "glfx", + "GLJS", + "GLSL", + "GLTF", + "Gods’illa", + "gokun", + "gzipped", + "hacer", + "highp", + "Hoare", + "ifdefs", + "iframes", + "iife", + "imagecoord", + "incentivizing", + "inlinehilite", + "insee", + "instanceof", + "interp", + "jank", + "Jawg", + "jsons", + "kdbush", + "Klass", + "Kogod", + "komoot", + "lerp", + "libglew", + "libpango", + "librsvg", + "libxi", + "lowp", + "Luxemburg", + "mapa", + "maplibregl", + "mapme", + "mappedin", + "marcacci", + "MBGL", + "mbsv", + "mediump", + "Merc", + "merp", + "MIERUNE", + "mihalyi", + "mkdocs", + "mlcontour", + "mousein", + "mouseup", + "mozfullscreenchange", + "MSAA", + "msvs", + "Muhsinah", + "mult", + "Mycroft", + "Napoli", + "Nauticals", + "nbsp", + "nise", + "nofollow", + "nohup", + "noopener", + "Noto", + "nvmrc", + "Oberstein", + "Offc", + "onmozfullscreenchange", + "onmsfullscreenchange", + "onomy", + "onstyleimagemissing", + "onwarn", + "orta", + "OSMUS", + "OTLS", + "outofmaxbounds", + "OVERSCALETILEID", + "pango", + "perp", + "píng", + "Plantes", + "plantuml", + "plpopup", + "PLSS", + "pmtiles", + "pngjs", + "Postg", + "protobuf", + "pygments", + "pymdownx", + "qrcode", + "Rebranded", + "rfid", + "rgba", + "rtoggle", + "rtree", + "sdfgamma", + "slugg", + "splc", + "spys", + "SRPS", + "stringifiable", + "Struct", + "tada", + "tcpopup", + "testem", + "testid", + "threejs", + "tinysdf", + "tipopup", + "tlbr", + "trfilter", + "trheader", + "Trocadéro", + "trpopup", + "Truckeroo", + "tsdoc", + "tsnode", + "tstypes", + "Tulherias", + "ubyte", + "unassert", + "unblended", + "unbundle", + "unclustered", + "unflipped", + "unitbezier", + "unminified", + "Unpitched", + "unpremultiplied", + "unproject", + "unrotated", + "unscale", + "unserialize", + "unsets", + "unthrottled", + "untransitioned", + "unversioned", + "USGS", + "Utilice", + "vaos", + "verticalizable", + "verticalized", + "WCAG", + "webgl", + "webglcontextcreationerror", + "webglcontextlost", + "webglcontextrestored", + "webp", + "whoots", + "Wijk", + "wrsheader", + "wrslegend", + "wrslist", + "Xfrom", + "Xhalf", + "xlink", + "Xmax", + "Xmin", + "xvfb", + "Yhalf", + "Ymax", + "Ymin", + "Zanabazar", + "zelinsky", + "Zfrom", + "zoomto", + "ZULN" + ], + "allowCompoundWords": true, + "language": "en,en-GB,en-US,es-ES", + "ignorePaths": [ + "**/*.geojson", + "**/*.glsl", + "**/*.gltf", + "**/*.json", + "**/*.pbf", + "**/*.svg", + "**/*.ts" + ], + "ignoreRegExpList": [ + "@\\w+", + "\\[\\w+", + "// '\\w+'" + ], + "useGitignore": true +} diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 00000000000..00723470eba --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,25 @@ +name: "Check spelling" +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + spellcheck: + permissions: + contents: read + pull-requests: read + runs-on: ubuntu-latest + if: ${{ github.actor != 'dependabot[bot]' }} + steps: + - uses: actions/checkout@v4 + - uses: streetsidesoftware/cspell-action@v6 + with: + check_dot_files: false + incremental_files_only: true + inline: warning + strict: false diff --git a/.vscode/extensions.json b/.vscode/extensions.json index c4721467d2b..c4b2f791a04 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,6 +2,7 @@ "recommendations": [ "dbaeumer.vscode-eslint", "EditorConfig.EditorConfig", + "streetsidesoftware.code-spell-checker", "stylelint.vscode-stylelint" ] }