Skip to content

Commit 2f636c5

Browse files
authored
fix: Add Kotlin dictionary (#6725)
1 parent 6f91371 commit 2f636c5

File tree

8 files changed

+21
-60
lines changed

8 files changed

+21
-60
lines changed

integration-tests/snapshots/flutter/samples/report.yaml

Lines changed: 3 additions & 29 deletions
Large diffs are not rendered by default.

integration-tests/snapshots/flutter/samples/snapshot.txt

Lines changed: 1 addition & 25 deletions
Large diffs are not rendered by default.

packages/cspell-bundled-dicts/cspell-default.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
"use strict";
21
const settings = {
32
version: '0.2',
43
name: 'cspell default settings .js',
@@ -130,6 +129,7 @@ const settings = {
130129
'@cspell/dict-java/cspell-ext.json',
131130
'@cspell/dict-julia/cspell-ext.json',
132131
'@cspell/dict-k8s/cspell-ext.json',
132+
'@cspell/dict-kotlin/cspell-ext.json',
133133
'@cspell/dict-latex/cspell-ext.json',
134134
'@cspell/dict-lorem-ipsum/cspell-ext.json',
135135
'@cspell/dict-lua/cspell-ext.json',
@@ -155,4 +155,4 @@ const settings = {
155155
'@cspell/dict-vue/cspell-ext.json',
156156
],
157157
};
158-
module.exports = settings;
158+
export default settings;

packages/cspell-bundled-dicts/cspell-default.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const settings: AdvancedCSpellSettings = {
132132
'@cspell/dict-java/cspell-ext.json',
133133
'@cspell/dict-julia/cspell-ext.json',
134134
'@cspell/dict-k8s/cspell-ext.json',
135+
'@cspell/dict-kotlin/cspell-ext.json',
135136
'@cspell/dict-latex/cspell-ext.json',
136137
'@cspell/dict-lorem-ipsum/cspell-ext.json',
137138
'@cspell/dict-lua/cspell-ext.json',
@@ -158,4 +159,4 @@ const settings: AdvancedCSpellSettings = {
158159
],
159160
};
160161

161-
export = settings;
162+
export default settings;

packages/cspell-bundled-dicts/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"access": "public",
77
"provenance": true
88
},
9-
"type": "commonjs",
9+
"type": "module",
1010
"sideEffects": false,
1111
"main": "cspell-default.json",
1212
"files": [
@@ -80,6 +80,7 @@
8080
"@cspell/dict-java": "^5.0.11",
8181
"@cspell/dict-julia": "^1.0.5",
8282
"@cspell/dict-k8s": "^1.0.10",
83+
"@cspell/dict-kotlin": "^1.0.4",
8384
"@cspell/dict-latex": "^4.0.3",
8485
"@cspell/dict-lorem-ipsum": "^4.0.4",
8586
"@cspell/dict-lua": "^4.0.7",

packages/cspell-bundled-dicts/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "../../tsconfig.esm.json",
33
"compilerOptions": {
44
"declaration": false,
55
"declarationMap": false,

packages/cspell/src/app/__snapshots__/app.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3567,6 +3567,7 @@ hello - html-symbol-entitie node_modules/@cspell/.../entities.txt.gz
35673567
hello - java node_modules/@cspell/dict-java/dict/java.trie
35683568
hello - julia node_modules/@cspell/dict-julia/dict/julia.txt
35693569
hello - k8s node_modules/@cspell/dict-k8s/dict/k8s.txt
3570+
hello - kotlin node_modules/@cspell/dict-kotlin/dict/kotlin.txt
35703571
hello - latex node_modules/@cspell/dict-latex/dict/latex.txt
35713572
hello - lorem-ipsum node_modules/@cspell/.../dict/lorem.txt
35723573
hello - lua node_modules/@cspell/dict-lua/dict/lua.txt

pnpm-lock.yaml

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)