You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grafana Plugins are built with a Drone pipeline. A step was added to that pipeline, that datasources should comply with a "spellcheck". In order to not break builds with the OpenSearch datasource, spellchecks need to be added to the main and v1.2.x branch of OpenSearch.
Reason to implement spellcheck
Grafana Plugins are built with a Drone pipeline. A step was added to that pipeline, that datasources should comply with a "spellcheck". In order to not break builds with the OpenSearch datasource, spellchecks need to be added to the
main
andv1.2.x
branch of OpenSearch.Steps to implement spellcheck
Your pipelines will fail if it can't find
cspell.config.json
in your plugin repo. So add one as described in https://github.com/grafana/grafana-drone-extension/pull/189 or follow the following steps.yarn add -D cspell@6.13.3
to install cspell local to your repo"spellcheck": "cspell -c cspell.config.json \"**/*.{ts,tsx,js,go,md,mdx,yml,yaml,json,scss,css}\""
to package.json scripts sectionecho '{ "ignorePaths": ["node_modules/**","dist/**"], "words":["grafana","datasource","datasources"]}' > cspell.config.json
to create acspell.config.json
fileyarn spellcheck
to see if any errorsignorePaths
orwords
section of the cspell.config.jsonSample PR to add spellcheck to your repo : https://github.com/grafana/athena-datasource/pull/185/files
The text was updated successfully, but these errors were encountered: