From dd68c9a699189b2361d2e495e53d79d2baa8ca28 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Thu, 29 Aug 2024 16:56:34 +0200 Subject: [PATCH] fix: Add flutter dictionary for dart (#6185) --- packages/cspell-bundled-dicts/cspell-default.config.js | 1 + packages/cspell-bundled-dicts/cspell-default.config.ts | 1 + packages/cspell-bundled-dicts/package.json | 1 + packages/cspell/src/app/__snapshots__/app.test.ts.snap | 1 + pnpm-lock.yaml | 8 ++++++++ 5 files changed, 12 insertions(+) diff --git a/packages/cspell-bundled-dicts/cspell-default.config.js b/packages/cspell-bundled-dicts/cspell-default.config.js index c48c383fdb3..44f1c94defb 100644 --- a/packages/cspell-bundled-dicts/cspell-default.config.js +++ b/packages/cspell-bundled-dicts/cspell-default.config.js @@ -133,6 +133,7 @@ const settings = { '@cspell/dict-en-common-misspellings/cspell-ext.json', '@cspell/dict-en-gb/cspell-ext.json', '@cspell/dict-filetypes/cspell-ext.json', + '@cspell/dict-flutter/cspell-ext.json', '@cspell/dict-fonts/cspell-ext.json', '@cspell/dict-fsharp/cspell-ext.json', '@cspell/dict-fullstack/cspell-ext.json', diff --git a/packages/cspell-bundled-dicts/cspell-default.config.ts b/packages/cspell-bundled-dicts/cspell-default.config.ts index bc700ec3635..e6fa0e05a9a 100644 --- a/packages/cspell-bundled-dicts/cspell-default.config.ts +++ b/packages/cspell-bundled-dicts/cspell-default.config.ts @@ -136,6 +136,7 @@ const settings: AdvancedCSpellSettings = { '@cspell/dict-en-common-misspellings/cspell-ext.json', '@cspell/dict-en-gb/cspell-ext.json', '@cspell/dict-filetypes/cspell-ext.json', + '@cspell/dict-flutter/cspell-ext.json', '@cspell/dict-fonts/cspell-ext.json', '@cspell/dict-fsharp/cspell-ext.json', '@cspell/dict-fullstack/cspell-ext.json', diff --git a/packages/cspell-bundled-dicts/package.json b/packages/cspell-bundled-dicts/package.json index 397339477a2..e4c854b8294 100644 --- a/packages/cspell-bundled-dicts/package.json +++ b/packages/cspell-bundled-dicts/package.json @@ -64,6 +64,7 @@ "@cspell/dict-en-gb": "1.1.33", "@cspell/dict-en_us": "^4.3.23", "@cspell/dict-filetypes": "^3.0.4", + "@cspell/dict-flutter": "^1.0.0", "@cspell/dict-fonts": "^4.0.0", "@cspell/dict-fsharp": "^1.0.1", "@cspell/dict-fullstack": "^3.2.0", diff --git a/packages/cspell/src/app/__snapshots__/app.test.ts.snap b/packages/cspell/src/app/__snapshots__/app.test.ts.snap index e8520eb5627..547e885558a 100644 --- a/packages/cspell/src/app/__snapshots__/app.test.ts.snap +++ b/packages/cspell/src/app/__snapshots__/app.test.ts.snap @@ -3468,6 +3468,7 @@ hello * en-gb node_modules/@cspell/dict-en-gb/en_GB.trie.gz hello - en-gb-common-misspe node_modules/@cspell/.../dict-en-gb.yaml hello - en-us-common-misspe node_modules/@cspell/.../dict-en-us.yaml hello - filetypes* node_modules/.../dict-filetypes/filetypes.txt.gz +hello - flutter node_modules/@cspell/dict-flutter/flutter.txt.gz hello - fonts node_modules/@cspell/dict-fonts/dict/fonts.txt hello - fsharp node_modules/@cspell/dict-fsharp/dict/fsharp.txt hello - fullstack node_modules/@cspell/.../dict/fullstack.txt diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 414779c9ddd..0a4b8549e2b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -319,6 +319,9 @@ importers: '@cspell/dict-filetypes': specifier: ^3.0.4 version: 3.0.4 + '@cspell/dict-flutter': + specifier: ^1.0.0 + version: 1.0.0 '@cspell/dict-fonts': specifier: ^4.0.0 version: 4.0.0 @@ -2098,6 +2101,9 @@ packages: '@cspell/dict-filetypes@3.0.4': resolution: {integrity: sha512-IBi8eIVdykoGgIv5wQhOURi5lmCNJq0we6DvqKoPQJHthXbgsuO1qrHSiUVydMiQl/XvcnUWTMeAlVUlUClnVg==} + '@cspell/dict-flutter@1.0.0': + resolution: {integrity: sha512-W7k1VIc4KeV8BjEBxpA3cqpzbDWjfb7oXkEb0LecBCBp5Z7kcfnjT1YVotTx/U9PGyAOBhDaEdgZACVGNQhayw==} + '@cspell/dict-fonts@4.0.0': resolution: {integrity: sha512-t9V4GeN/m517UZn63kZPUYP3OQg5f0OBLSd3Md5CU3eH1IFogSvTzHHnz4Wqqbv8NNRiBZ3HfdY/pqREZ6br3Q==} @@ -10652,6 +10658,8 @@ snapshots: '@cspell/dict-filetypes@3.0.4': {} + '@cspell/dict-flutter@1.0.0': {} + '@cspell/dict-fonts@4.0.0': {} '@cspell/dict-fr-fr@2.2.2': {}