Skip to content

Commit

Permalink
added spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
gwdawson committed Jan 26, 2024
1 parent 205401a commit 8d2217b
Show file tree
Hide file tree
Showing 3 changed files with 684 additions and 11 deletions.
27 changes: 27 additions & 0 deletions cspell.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"ignorePaths": [
"coverage/**",
"cypress/**",
"dist/**",
"go.sum",
"mage_output_file.go",
"node_modules/**",
"provisioning/**/*.yaml",
"src/dashboards/*.json",
"**/testdata/**/*.json",
"**/testdata/**/*.jsonc",
"vendor/**",
"cspell.config.json",
"package.json",
"yarn.lock",
"docker-compose*.yaml",
"docker-compose*.yml"
],
"ignoreRegExpList": [
// ignore multiline imports
"import\\s*\\((.|[\r\n])*?\\)",
// ignore single line imports
"import\\s*.*\".*?\""
],
"words": ["acmecorp", "datasource", "datasources", "grafana", "instancemgmt", "polystat", "volkovlabs", "yugabyte"]
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"test": "jest --watch --onlyChanged",
"test:ci": "jest --passWithNoTests --maxWorkers 4",
"typecheck": "tsc --noEmit",
"spellcheck": "cspell -c cspell.config.json \"**/*.{ts,tsx,js,go,md,mdx,yml,yaml,json,scss,css}\"",
"lint": "eslint --cache --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "yarn run lint --fix",
"e2e": "yarn exec cypress install && yarn exec grafana-e2e run",
Expand All @@ -33,6 +34,7 @@
"@types/node": "^20.8.7",
"@types/testing-library__jest-dom": "5.14.8",
"copy-webpack-plugin": "^11.0.0",
"cspell": "^8.3.2",
"css-loader": "^6.7.3",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-webpack-plugin": "^4.0.1",
Expand Down Expand Up @@ -61,8 +63,8 @@
"@emotion/css": "11.10.6",
"@grafana/data": "10.0.3",
"@grafana/runtime": "10.0.3",
"@grafana/ui": "10.0.3",
"@grafana/schema": "10.0.3",
"@grafana/ui": "10.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"tslib": "2.5.3"
Expand Down
Loading

0 comments on commit 8d2217b

Please sign in to comment.